summaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2005-07-25 12:29:19 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-25 12:29:19 -0700
commit4cf78e4fb678807e3f8265c9e9031a84f5c601f0 (patch)
treee5acc4451c7e9f59125119174b05ca95c652c2df /drivers/net/tg3.h
parent6b6a93c6876ea1c530d5d3f68e3678093a27fab0 (diff)
downloadop-kernel-dev-4cf78e4fb678807e3f8265c9e9031a84f5c601f0.zip
op-kernel-dev-4cf78e4fb678807e3f8265c9e9031a84f5c601f0.tar.gz
[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 70ad450..46fa105 100644
--- a/drivers/net/tg3.h
+++ b/drivers/net/tg3.h
@@ -136,6 +136,7 @@
#define ASIC_REV_5705 0x03
#define ASIC_REV_5750 0x04
#define ASIC_REV_5752 0x06
+#define ASIC_REV_5780 0x08
#define GET_CHIP_REV(CHIP_REV_ID) ((CHIP_REV_ID) >> 8)
#define CHIPREV_5700_AX 0x70
#define CHIPREV_5700_BX 0x71
@@ -2187,6 +2188,7 @@ struct tg3 {
u8 pci_bist;
int pm_cap;
+ int msi_cap;
/* PHY info */
u32 phy_id;
@@ -2200,6 +2202,7 @@ struct tg3 {
#define PHY_ID_BCM5705 0x600081a0
#define PHY_ID_BCM5750 0x60008180
#define PHY_ID_BCM5752 0x60008100
+#define PHY_ID_BCM5780 0x60008350
#define PHY_ID_BCM8002 0x60010140
#define PHY_ID_INVALID 0xffffffff
#define PHY_ID_REV_MASK 0x0000000f
OpenPOWER on IntegriCloud