tg3: Add libphy support.

This patch introduces the libphy support.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Matt Carlson
2008-05-25 23:47:41 -07:00
committed by David S. Miller
parent 158d7abdae
commit b02fd9e3ac
2 changed files with 355 additions and 48 deletions
+353 -48
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -2205,6 +2205,7 @@ struct tg3_link_config {
u16 orig_speed;
u8 orig_duplex;
u8 orig_autoneg;
u32 orig_advertising;
};
struct tg3_bufmgr_config {
@@ -2483,6 +2484,7 @@ struct tg3 {
#define TG3_FLG3_USE_PHYLIB 0x00000010
#define TG3_FLG3_MDIOBUS_INITED 0x00000020
#define TG3_FLG3_MDIOBUS_PAUSED 0x00000040
#define TG3_FLG3_PHY_CONNECTED 0x00000080
struct timer_list timer;
u16 timer_counter;