]> git.karo-electronics.de Git - linux-beck.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)
commite754b42424e0bd5949f47118f71720c42b93c6e0
tree5c0a5fb348bf3dc9a5a7fd7fd1d0ad39dbedf92e
parentf0bd0b68220aaba354f84518173498cae160afdc
[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