diff options
author | Michael Chan <mchan@broadcom.com> | 2006-09-27 19:09:25 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-28 21:01:41 -0400 |
commit | 715116a12610b67c1d301a9b845ce95f7247dad3 (patch) | |
tree | 1f9b680e4cfc32cc7759b82481f104eae6e22f24 /drivers/net/tg3.h | |
parent | b5d3772ccbe0bc5ac8ffbb5356b74ca698aee28c (diff) |
[TG3]: Add 5709 PHY support.
Add support for the 5709 10/100 PHY.
Signed-off-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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index 2f5e00c9601..9259d12fabd 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -1624,6 +1624,7 @@ | |||
1624 | #define MII_TG3_DSP_RW_PORT 0x15 /* DSP coefficient read/write port */ | 1624 | #define MII_TG3_DSP_RW_PORT 0x15 /* DSP coefficient read/write port */ |
1625 | 1625 | ||
1626 | #define MII_TG3_DSP_ADDRESS 0x17 /* DSP address register */ | 1626 | #define MII_TG3_DSP_ADDRESS 0x17 /* DSP address register */ |
1627 | #define MII_TG3_EPHY_PTEST 0x17 /* 5906 PHY register */ | ||
1627 | 1628 | ||
1628 | #define MII_TG3_AUX_CTRL 0x18 /* auxilliary control register */ | 1629 | #define MII_TG3_AUX_CTRL 0x18 /* auxilliary control register */ |
1629 | 1630 | ||
@@ -1637,6 +1638,8 @@ | |||
1637 | #define MII_TG3_AUX_STAT_100FULL 0x0500 | 1638 | #define MII_TG3_AUX_STAT_100FULL 0x0500 |
1638 | #define MII_TG3_AUX_STAT_1000HALF 0x0600 | 1639 | #define MII_TG3_AUX_STAT_1000HALF 0x0600 |
1639 | #define MII_TG3_AUX_STAT_1000FULL 0x0700 | 1640 | #define MII_TG3_AUX_STAT_1000FULL 0x0700 |
1641 | #define MII_TG3_AUX_STAT_100 0x0008 | ||
1642 | #define MII_TG3_AUX_STAT_FULL 0x0001 | ||
1640 | 1643 | ||
1641 | #define MII_TG3_ISTAT 0x1a /* IRQ status register */ | 1644 | #define MII_TG3_ISTAT 0x1a /* IRQ status register */ |
1642 | #define MII_TG3_IMASK 0x1b /* IRQ mask register */ | 1645 | #define MII_TG3_IMASK 0x1b /* IRQ mask register */ |
@@ -1647,6 +1650,9 @@ | |||
1647 | #define MII_TG3_INT_DUPLEXCHG 0x0008 | 1650 | #define MII_TG3_INT_DUPLEXCHG 0x0008 |
1648 | #define MII_TG3_INT_ANEG_PAGE_RX 0x0400 | 1651 | #define MII_TG3_INT_ANEG_PAGE_RX 0x0400 |
1649 | 1652 | ||
1653 | #define MII_TG3_EPHY_TEST 0x1f /* 5906 PHY register */ | ||
1654 | #define MII_TG3_EPHY_SHADOW_EN 0x80 | ||
1655 | |||
1650 | /* There are two ways to manage the TX descriptors on the tigon3. | 1656 | /* There are two ways to manage the TX descriptors on the tigon3. |
1651 | * Either the descriptors are in host DMA'able memory, or they | 1657 | * Either the descriptors are in host DMA'able memory, or they |
1652 | * exist only in the cards on-chip SRAM. All 16 send bds are under | 1658 | * exist only in the cards on-chip SRAM. All 16 send bds are under |