PCI: support device-specific reset methods
authorDexuan Cui <dexuan.cui@intel.com>
Mon, 7 Dec 2009 05:03:21 +0000 (13:03 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 16 Dec 2009 21:37:50 +0000 (13:37 -0800)
commitb9c3b266411d27f1a6466c19d146d08db576bfea
treec310b37e7dff6607e22eca0b690c2a3f290c85a9
parent2820f333e3b4ad96590093efbed7b3400bcf492b
PCI: support device-specific reset methods

Add a new type of quirk for resetting devices at pci_dev_reset time.
This is necessary to handle device with nonstandard reset procedures,
especially useful for guest drivers.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/quirks.c