summaryrefslogtreecommitdiffstats
path: root/include/linux/pci_regs.h
diff options
context:
space:
mode:
authorGabe Black <gabe.black@ni.com>2009-10-06 10:45:19 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-04 13:06:36 -0800
commitbc577d2bb98cc44371287fce3e892d26ad4050a8 (patch)
tree801ff1dbf10301bda75879141482eb226192e280 /include/linux/pci_regs.h
parent0584396157ad2d008e2cc76b4ed6254151183a25 (diff)
downloadop-kernel-dev-bc577d2bb98cc44371287fce3e892d26ad4050a8.zip
op-kernel-dev-bc577d2bb98cc44371287fce3e892d26ad4050a8.tar.gz
PCI: populate subsystem vendor and device IDs for PCI bridges
Change to populate the subsystem vendor and subsytem device IDs for PCI-PCI bridges that implement the PCI Subsystem Vendor ID capability. Previously bridges left subsystem vendor IDs unpopulated. Signed-off-by: Gabe Black <gabe.black@ni.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci_regs.h')
-rw-r--r--include/linux/pci_regs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
index d798770..9f2ad0a 100644
--- a/include/linux/pci_regs.h
+++ b/include/linux/pci_regs.h
@@ -365,6 +365,11 @@
#define PCI_X_STATUS_266MHZ 0x40000000 /* 266 MHz capable */
#define PCI_X_STATUS_533MHZ 0x80000000 /* 533 MHz capable */
+/* PCI Bridge Subsystem ID registers */
+
+#define PCI_SSVID_VENDOR_ID 4 /* PCI-Bridge subsystem vendor id register */
+#define PCI_SSVID_DEVICE_ID 6 /* PCI-Bridge subsystem device id register */
+
/* PCI Express capability registers */
#define PCI_EXP_FLAGS 2 /* Capabilities register */
OpenPOWER on IntegriCloud