diff options
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index a3598ed9f5fc..e0914fdaf274 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2481,6 +2481,8 @@ struct tg3 { | |||
2481 | #define TG3_FLG3_5761_5784_AX_FIXES 0x00000004 | 2481 | #define TG3_FLG3_5761_5784_AX_FIXES 0x00000004 |
2482 | #define TG3_FLG3_5701_DMA_BUG 0x00000008 | 2482 | #define TG3_FLG3_5701_DMA_BUG 0x00000008 |
2483 | #define TG3_FLG3_USE_PHYLIB 0x00000010 | 2483 | #define TG3_FLG3_USE_PHYLIB 0x00000010 |
2484 | #define TG3_FLG3_MDIOBUS_INITED 0x00000020 | ||
2485 | #define TG3_FLG3_MDIOBUS_PAUSED 0x00000040 | ||
2484 | 2486 | ||
2485 | struct timer_list timer; | 2487 | struct timer_list timer; |
2486 | u16 timer_counter; | 2488 | u16 timer_counter; |
@@ -2521,6 +2523,9 @@ struct tg3 { | |||
2521 | int msi_cap; | 2523 | int msi_cap; |
2522 | int pcix_cap; | 2524 | int pcix_cap; |
2523 | 2525 | ||
2526 | struct mii_bus mdio_bus; | ||
2527 | int mdio_irq[PHY_MAX_ADDR]; | ||
2528 | |||
2524 | /* PHY info */ | 2529 | /* PHY info */ |
2525 | u32 phy_id; | 2530 | u32 phy_id; |
2526 | #define PHY_ID_MASK 0xfffffff0 | 2531 | #define PHY_ID_MASK 0xfffffff0 |