diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-04-05 10:22:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-06 14:29:08 -0400 |
commit | f2096f94b514d88593355995d5dd276961e88af1 (patch) | |
tree | c7f4cffacd65584aa212f90b66609e54df24edce /drivers/net/tg3.h | |
parent | 9b91b5f178605dd0d4debcbc184a3e97fcb4f591 (diff) |
tg3: Add 5720 H2BMC support
This patch adds support for the new Host to BMC feature.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 169a6cebf9f1..a936727018f9 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -479,6 +479,8 @@ | |||
479 | #define TX_MODE_BIG_BCKOFF_ENABLE 0x00000020 | 479 | #define TX_MODE_BIG_BCKOFF_ENABLE 0x00000020 |
480 | #define TX_MODE_LONG_PAUSE_ENABLE 0x00000040 | 480 | #define TX_MODE_LONG_PAUSE_ENABLE 0x00000040 |
481 | #define TX_MODE_MBUF_LOCKUP_FIX 0x00000100 | 481 | #define TX_MODE_MBUF_LOCKUP_FIX 0x00000100 |
482 | #define TX_MODE_JMB_FRM_LEN 0x00400000 | ||
483 | #define TX_MODE_CNT_DN_MODE 0x00800000 | ||
482 | #define MAC_TX_STATUS 0x00000460 | 484 | #define MAC_TX_STATUS 0x00000460 |
483 | #define TX_STATUS_XOFFED 0x00000001 | 485 | #define TX_STATUS_XOFFED 0x00000001 |
484 | #define TX_STATUS_SENT_XOFF 0x00000002 | 486 | #define TX_STATUS_SENT_XOFF 0x00000002 |
@@ -493,6 +495,8 @@ | |||
493 | #define TX_LENGTHS_IPG_SHIFT 8 | 495 | #define TX_LENGTHS_IPG_SHIFT 8 |
494 | #define TX_LENGTHS_IPG_CRS_MASK 0x00003000 | 496 | #define TX_LENGTHS_IPG_CRS_MASK 0x00003000 |
495 | #define TX_LENGTHS_IPG_CRS_SHIFT 12 | 497 | #define TX_LENGTHS_IPG_CRS_SHIFT 12 |
498 | #define TX_LENGTHS_JMB_FRM_LEN_MSK 0x00ff0000 | ||
499 | #define TX_LENGTHS_CNT_DWN_VAL_MSK 0xff000000 | ||
496 | #define MAC_RX_MODE 0x00000468 | 500 | #define MAC_RX_MODE 0x00000468 |
497 | #define RX_MODE_RESET 0x00000001 | 501 | #define RX_MODE_RESET 0x00000001 |
498 | #define RX_MODE_ENABLE 0x00000002 | 502 | #define RX_MODE_ENABLE 0x00000002 |
@@ -1330,6 +1334,7 @@ | |||
1330 | #define RDMAC_MODE_MULT_DMA_RD_DIS 0x01000000 | 1334 | #define RDMAC_MODE_MULT_DMA_RD_DIS 0x01000000 |
1331 | #define RDMAC_MODE_IPV4_LSO_EN 0x08000000 | 1335 | #define RDMAC_MODE_IPV4_LSO_EN 0x08000000 |
1332 | #define RDMAC_MODE_IPV6_LSO_EN 0x10000000 | 1336 | #define RDMAC_MODE_IPV6_LSO_EN 0x10000000 |
1337 | #define RDMAC_MODE_H2BNC_VLAN_DET 0x20000000 | ||
1333 | #define RDMAC_STATUS 0x00004804 | 1338 | #define RDMAC_STATUS 0x00004804 |
1334 | #define RDMAC_STATUS_TGTABORT 0x00000004 | 1339 | #define RDMAC_STATUS_TGTABORT 0x00000004 |
1335 | #define RDMAC_STATUS_MSTABORT 0x00000008 | 1340 | #define RDMAC_STATUS_MSTABORT 0x00000008 |
@@ -1622,6 +1627,8 @@ | |||
1622 | #define GRC_MODE_WSWAP_NONFRM_DATA 0x00000004 | 1627 | #define GRC_MODE_WSWAP_NONFRM_DATA 0x00000004 |
1623 | #define GRC_MODE_BSWAP_DATA 0x00000010 | 1628 | #define GRC_MODE_BSWAP_DATA 0x00000010 |
1624 | #define GRC_MODE_WSWAP_DATA 0x00000020 | 1629 | #define GRC_MODE_WSWAP_DATA 0x00000020 |
1630 | #define GRC_MODE_BYTE_SWAP_B2HRX_DATA 0x00000040 | ||
1631 | #define GRC_MODE_WORD_SWAP_B2HRX_DATA 0x00000080 | ||
1625 | #define GRC_MODE_SPLITHDR 0x00000100 | 1632 | #define GRC_MODE_SPLITHDR 0x00000100 |
1626 | #define GRC_MODE_NOFRM_CRACKING 0x00000200 | 1633 | #define GRC_MODE_NOFRM_CRACKING 0x00000200 |
1627 | #define GRC_MODE_INCL_CRC 0x00000400 | 1634 | #define GRC_MODE_INCL_CRC 0x00000400 |
@@ -1629,8 +1636,10 @@ | |||
1629 | #define GRC_MODE_NOIRQ_ON_SENDS 0x00002000 | 1636 | #define GRC_MODE_NOIRQ_ON_SENDS 0x00002000 |
1630 | #define GRC_MODE_NOIRQ_ON_RCV 0x00004000 | 1637 | #define GRC_MODE_NOIRQ_ON_RCV 0x00004000 |
1631 | #define GRC_MODE_FORCE_PCI32BIT 0x00008000 | 1638 | #define GRC_MODE_FORCE_PCI32BIT 0x00008000 |
1639 | #define GRC_MODE_B2HRX_ENABLE 0x00008000 | ||
1632 | #define GRC_MODE_HOST_STACKUP 0x00010000 | 1640 | #define GRC_MODE_HOST_STACKUP 0x00010000 |
1633 | #define GRC_MODE_HOST_SENDBDS 0x00020000 | 1641 | #define GRC_MODE_HOST_SENDBDS 0x00020000 |
1642 | #define GRC_MODE_HTX2B_ENABLE 0x00040000 | ||
1634 | #define GRC_MODE_NO_TX_PHDR_CSUM 0x00100000 | 1643 | #define GRC_MODE_NO_TX_PHDR_CSUM 0x00100000 |
1635 | #define GRC_MODE_NVRAM_WR_ENABLE 0x00200000 | 1644 | #define GRC_MODE_NVRAM_WR_ENABLE 0x00200000 |
1636 | #define GRC_MODE_PCIE_TL_SEL 0x00000000 | 1645 | #define GRC_MODE_PCIE_TL_SEL 0x00000000 |