[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090219170715.47781cc2.akpm@linux-foundation.org>
Date: Thu, 19 Feb 2009 17:07:15 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Jens Axboe <jens.axboe@...cle.com>
Cc: torvalds@...ux-foundation.org, linux-kernel@...r.kernel.org,
mike.miller@...com
Subject: Re: [GIT PULL] block bits for 2.6.29-rc5
On Wed, 18 Feb 2009 15:41:06 +0100
Jens Axboe <jens.axboe@...cle.com> wrote:
> @@ -3404,6 +3601,24 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
> int dac, return_code;
> InquiryData_struct *inq_buff = NULL;
>
> + if (reset_devices) {
> + /* Reset the controller with a PCI power-cycle */
> + if (cciss_hard_reset_controller(pdev) || cciss_reset_msi(pdev))
> + return -ENODEV;
> +
> + /* Some devices (notably the HP Smart Array 5i Controller)
> + need a little pause here */
> + schedule_timeout_uninterruptible(30*HZ);
little!
Perhaps we should do a printk("no, your machine is not dead") here.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists