summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie/portdrv.h
diff options
context:
space:
mode:
authorlong <tlnguyen@snoqualmie.dp.intel.com>2005-06-22 18:09:54 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-01 22:35:51 +0200
commit5823d100ae260d022b4dd5ec9cc0b85f0bf0d646 (patch)
tree20cb85773cb51eed009a8b0f4646ebc4db7c293a /drivers/pci/pcie/portdrv.h
parent[PATCH] PCI: Add PCI quirk for SMBus on the Asus P4B-LX (diff)
downloadlinux-5823d100ae260d022b4dd5ec9cc0b85f0bf0d646.tar.xz
linux-5823d100ae260d022b4dd5ec9cc0b85f0bf0d646.zip
[PATCH] PCI: acpi tg3 ethernet not coming back properly after S3 suspendon DellM70
This patch, is based on kernel 2.6.12, provides a fix for PCIe port bus driver suspend/resume. Signed-off-by: T. Long Nguyen <tom.l.nguyen@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/pcie/portdrv.h')
-rw-r--r--drivers/pci/pcie/portdrv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h
index 537b372dc340..a63bd8f72601 100644
--- a/drivers/pci/pcie/portdrv.h
+++ b/drivers/pci/pcie/portdrv.h
@@ -27,6 +27,11 @@
#define get_descriptor_id(type, service) (((type - 4) << 4) | service)
+struct pcie_port_device_ext {
+ int interrupt_mode; /* [0:INTx | 1:MSI | 2:MSI-X] */
+ unsigned int saved_msi_config_space[5];
+};
+
extern struct bus_type pcie_port_bus_type;
extern int pcie_port_device_probe(struct pci_dev *dev);
extern int pcie_port_device_register(struct pci_dev *dev);