diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2006-01-12 19:51:21 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 07:48:04 -0500 |
commit | b7ee49db8b4b21dad3284d5507e7ea2946031f6e (patch) | |
tree | 1608149c1afea7bb19888664f89d18c14e0d1e88 /drivers/net/e1000/e1000_hw.h | |
parent | 72d64a436724da72f876c85a73895a622da6a673 (diff) |
[PATCH] e1000: Added hardware support for PCI express, 82546GB, and 82571 Fiber
Added 82571 fiber to WOL fix for dual port adapters.
Added support for 82546GB (Quad Copper).
Added PCIe typedef for x2, igp cable length 115, and extended TX CTRL registers.
Added parity error detection and PCIe CTRL registers.
Added EEPROM config registers.
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.h')
-rw-r--r-- | drivers/net/e1000/e1000_hw.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h index 600570ff254b..0b8f6f2b774b 100644 --- a/drivers/net/e1000/e1000_hw.h +++ b/drivers/net/e1000/e1000_hw.h | |||
@@ -439,6 +439,7 @@ int32_t e1000_check_phy_reset_block(struct e1000_hw *hw); | |||
439 | #define E1000_DEV_ID_82546GB_FIBER 0x107A | 439 | #define E1000_DEV_ID_82546GB_FIBER 0x107A |
440 | #define E1000_DEV_ID_82546GB_SERDES 0x107B | 440 | #define E1000_DEV_ID_82546GB_SERDES 0x107B |
441 | #define E1000_DEV_ID_82546GB_PCIE 0x108A | 441 | #define E1000_DEV_ID_82546GB_PCIE 0x108A |
442 | #define E1000_DEV_ID_82546GB_QUAD_COPPER 0x1099 | ||
442 | #define E1000_DEV_ID_82547EI 0x1019 | 443 | #define E1000_DEV_ID_82547EI 0x1019 |
443 | #define E1000_DEV_ID_82571EB_COPPER 0x105E | 444 | #define E1000_DEV_ID_82571EB_COPPER 0x105E |
444 | #define E1000_DEV_ID_82571EB_FIBER 0x105F | 445 | #define E1000_DEV_ID_82571EB_FIBER 0x105F |
@@ -449,6 +450,7 @@ int32_t e1000_check_phy_reset_block(struct e1000_hw *hw); | |||
449 | #define E1000_DEV_ID_82573E 0x108B | 450 | #define E1000_DEV_ID_82573E 0x108B |
450 | #define E1000_DEV_ID_82573E_IAMT 0x108C | 451 | #define E1000_DEV_ID_82573E_IAMT 0x108C |
451 | #define E1000_DEV_ID_82573L 0x109A | 452 | #define E1000_DEV_ID_82573L 0x109A |
453 | #define E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3 0x10B5 | ||
452 | 454 | ||
453 | 455 | ||
454 | #define NODE_ADDRESS_SIZE 6 | 456 | #define NODE_ADDRESS_SIZE 6 |
@@ -1955,6 +1957,23 @@ struct e1000_host_command_info { | |||
1955 | 1957 | ||
1956 | #define E1000_MDALIGN 4096 | 1958 | #define E1000_MDALIGN 4096 |
1957 | 1959 | ||
1960 | /* PCI-Ex registers */ | ||
1961 | |||
1962 | /* PCI-Ex Control Register */ | ||
1963 | #define E1000_GCR_RXD_NO_SNOOP 0x00000001 | ||
1964 | #define E1000_GCR_RXDSCW_NO_SNOOP 0x00000002 | ||
1965 | #define E1000_GCR_RXDSCR_NO_SNOOP 0x00000004 | ||
1966 | #define E1000_GCR_TXD_NO_SNOOP 0x00000008 | ||
1967 | #define E1000_GCR_TXDSCW_NO_SNOOP 0x00000010 | ||
1968 | #define E1000_GCR_TXDSCR_NO_SNOOP 0x00000020 | ||
1969 | |||
1970 | #define PCI_EX_NO_SNOOP_ALL (E1000_GCR_RXD_NO_SNOOP | \ | ||
1971 | E1000_GCR_RXDSCW_NO_SNOOP | \ | ||
1972 | E1000_GCR_RXDSCR_NO_SNOOP | \ | ||
1973 | E1000_GCR TXD_NO_SNOOP | \ | ||
1974 | E1000_GCR_TXDSCW_NO_SNOOP | \ | ||
1975 | E1000_GCR_TXDSCR_NO_SNOOP) | ||
1976 | |||
1958 | #define E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000 | 1977 | #define E1000_GCR_L1_ACT_WITHOUT_L0S_RX 0x08000000 |
1959 | /* Function Active and Power State to MNG */ | 1978 | /* Function Active and Power State to MNG */ |
1960 | #define E1000_FACTPS_FUNC0_POWER_STATE_MASK 0x00000003 | 1979 | #define E1000_FACTPS_FUNC0_POWER_STATE_MASK 0x00000003 |