tg3: Track LP advertising
This patch adds code to track the autonegotiation advertisements of the link partner and report them through ethtool. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
e2bf73e75a
commit
859edb2631
@@ -2698,6 +2698,7 @@ struct tg3_link_config {
|
||||
#define DUPLEX_INVALID 0xff
|
||||
#define AUTONEG_INVALID 0xff
|
||||
u16 active_speed;
|
||||
u32 rmt_adv;
|
||||
|
||||
/* When we go in and out of low power mode we need
|
||||
* to swap with this state.
|
||||
|
Reference in New Issue
Block a user