]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Fri, 21 Dec 2012 03:13:41 +0000 (11:13 +0800)
commitab0b7a4de193ad06119f6d9b4d1a5221f5788774
tree84e162e403250e3cfbb8f421586c56de80c95a69
parentcd205c471c41da6f904bbc4b0f5b7dad30e3c983
[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>
(cherry picked from commit e754b42424e0bd5949f47118f71720c42b93c6e0)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/hpsa.c