aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-07-25 15:29:19 -0400
committerDavid S. Miller <davem@davemloft.net>2005-07-25 15:29:19 -0400
commit4cf78e4fb678807e3f8265c9e9031a84f5c601f0 (patch)
treee5acc4451c7e9f59125119174b05ca95c652c2df /drivers/net/tg3.h
parent6b6a93c6876ea1c530d5d3f68e3678093a27fab0 (diff)
[TG3]: add 5780 basic support
Add 5780 PCI IDs, chip IDs, and other basic support. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h
index 70ad450733e6..46fa105fce83 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -136,6 +136,7 @@
136#define ASIC_REV_5705 0x03 136#define ASIC_REV_5705 0x03
137#define ASIC_REV_5750 0x04 137#define ASIC_REV_5750 0x04
138#define ASIC_REV_5752 0x06 138#define ASIC_REV_5752 0x06
139#define ASIC_REV_5780 0x08
139#define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8) 140#define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8)
140#define CHIPREV_5700_AX 0x70 141#define CHIPREV_5700_AX 0x70
141#define CHIPREV_5700_BX 0x71 142#define CHIPREV_5700_BX 0x71
@@ -2187,6 +2188,7 @@ struct tg3 {
2187 u8 pci_bist; 2188 u8 pci_bist;
2188 2189
2189 int pm_cap; 2190 int pm_cap;
2191 int msi_cap;
2190 2192
2191 /* PHY info */ 2193 /* PHY info */
2192 u32 phy_id; 2194 u32 phy_id;
@@ -2200,6 +2202,7 @@ struct tg3 {
2200#define PHY_ID_BCM5705 0x600081a0 2202#define PHY_ID_BCM5705 0x600081a0
2201#define PHY_ID_BCM5750 0x60008180 2203#define PHY_ID_BCM5750 0x60008180
2202#define PHY_ID_BCM5752 0x60008100 2204#define PHY_ID_BCM5752 0x60008100
2205#define PHY_ID_BCM5780 0x60008350
2203#define PHY_ID_BCM8002 0x60010140 2206#define PHY_ID_BCM8002 0x60010140
2204#define PHY_ID_INVALID 0xffffffff 2207#define PHY_ID_INVALID 0xffffffff
2205#define PHY_ID_REV_MASK 0x0000000f 2208#define PHY_ID_REV_MASK 0x0000000f