summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
diff options
context:
space:
mode:
authorAndrew Schran2008-07-24 20:55:53 +0200
committerMichael Brown2008-07-24 20:55:53 +0200
commit6b58992318fe0bdcc5fdbd5a55c5e8af325c9ecc (patch)
tree8ffd58d1d31103f0ae8d9f36f4b3d29e759293cf /src/include/gpxe
parent[makefile] Suppress "No such file or directory" warnings at start of build (diff)
downloadipxe-6b58992318fe0bdcc5fdbd5a55c5e8af325c9ecc.tar.gz
ipxe-6b58992318fe0bdcc5fdbd5a55c5e8af325c9ecc.tar.xz
ipxe-6b58992318fe0bdcc5fdbd5a55c5e8af325c9ecc.zip
[tg3] Added support for tg3-5754.
In tg3_chip_reset(), the PCI_EXPRESS change is taken from the Linux tg3 driver. I am not sure what exactly it does (it is not documented in the Linux driver), but it is necessary for the NIC to work correctly.
Diffstat (limited to 'src/include/gpxe')
-rw-r--r--src/include/gpxe/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/pci.h b/src/include/gpxe/pci.h
index fdcecb6d..90721574 100644
--- a/src/include/gpxe/pci.h
+++ b/src/include/gpxe/pci.h
@@ -156,6 +156,7 @@
#define PCI_CAP_ID_SLOTID 0x04 /* Slot Identification */
#define PCI_CAP_ID_MSI 0x05 /* Message Signalled Interrupts */
#define PCI_CAP_ID_CHSWP 0x06 /* CompactPCI HotSwap */
+#define PCI_CAP_ID_EXP 0x10 /* PCI Express */
#define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */
#define PCI_CAP_FLAGS 2 /* Capability defined flags (16 bits) */
#define PCI_CAP_SIZEOF 4