diff options
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 3 |
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 |