tg3: Track LP advertising
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 8 Dec 2011 14:40:16 +0000 (14:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:43:48 +0000 (19:43 -0500)
commit859edb2631c31813e63cbff7a81ced4f853b63ed
treea51890ebe09f659cbc3fd055f599b5b44e4a9319
parente2bf73e75aef01d93f569c4625b0d7f50f3e1031
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>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h