From 6b58992318fe0bdcc5fdbd5a55c5e8af325c9ecc Mon Sep 17 00:00:00 2001 From: Andrew Schran Date: Thu, 24 Jul 2008 19:55:53 +0100 Subject: [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. --- src/include/gpxe/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') 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 -- cgit v1.2.3-55-g7522