[PATCH 2/2] cciss: remove calls to pci_disable_device
authormike.miller@hp.com <mike.miller@hp.com>
Wed, 13 Dec 2006 12:10:04 +0000 (13:10 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 13 Dec 2006 12:10:04 +0000 (13:10 +0100)
commitc4977f596c5bce4d20fbd22cdb03486112985622
tree2099c3cd42303d582c1033ae10d889ebdf1c04c5
parent98040015bc5d6cea3bd2dcb642fe1e8c4bded8e1
[PATCH 2/2] cciss: remove calls to pci_disable_device

This patch removes calls to pci_disable_device except in fail_all_cmds. The
pci_disable_device function does something nasty to Smart Array controllers
that pci_enable_device does not undo. So if the driver is unloaded it cannot be
reloaded.

Also, customers can disable any pci device via the ROM Based Setup Utility
(RBSU). If the customer has disabled the controller we should not try to
blindly enable the card from the driver.  Please consider this for inclusion.

Signed-off-by: Mike Miller <mike.miller@hp.com>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/cciss.c