]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] hpsa: do not skip disabled devices
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Tue, 1 May 2012 16:42:14 +0000 (11:42 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 10 May 2012 08:09:20 +0000 (09:09 +0100)
commit0661fac0c7e68d9fea700c2dd4e7f2b3efa27e66
tree5c0a5fb348bf3dc9a5a7fd7fd1d0ad39dbedf92e
parent470e781f46adee4219f07bb065d8205d9358add7
[SCSI] hpsa: do not skip disabled devices

There was code to skip "disabled" devices which was intended to
skip devices disabled in the BIOS, but it really just checks to
see if the device can write to host memory, which this is disabled
by pci_disable_device on driver unload, so this check has the effect
of preventing subsequent load of the driver.  And devices disabled in
the BIOS don't show up at all anyway, so this check never made any
sense to begin with, and should be removed.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.c