diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2011-12-08 15:40:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-09 01:43:48 +0100 |
commit | 859edb2631c31813e63cbff7a81ced4f853b63ed (patch) | |
tree | a51890ebe09f659cbc3fd055f599b5b44e4a9319 /drivers/net/ethernet/broadcom/tg3.h | |
parent | tg3: Integrate flowctrl check into AN adv check (diff) | |
download | linux-859edb2631c31813e63cbff7a81ced4f853b63ed.tar.xz linux-859edb2631c31813e63cbff7a81ced4f853b63ed.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.h b/drivers/net/ethernet/broadcom/tg3.h index a2818ef8835c..9d9f6349cb8c 100644 --- a/drivers/net/ethernet/broadcom/tg3.h +++ b/drivers/net/ethernet/broadcom/tg3.h @@ -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. |