tg3: Integrate flowctrl check into AN adv check
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 8 Dec 2011 14:40:15 +0000 (14:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Dec 2011 00:43:48 +0000 (19:43 -0500)
commite2bf73e75aef01d93f569c4625b0d7f50f3e1031
treef29140eb909aa76954a3a4a637f0e6319ef9c198
parent92feeabf3f673767c6ee4cfc7fc224098446c1c1
tg3: Integrate flowctrl check into AN adv check

This patch integrates tg3_adv_1000T_flowctrl_ok() into
tg3_copper_is_advertising_all() and renames the function
tg3_phy_copper_an_config_ok().

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/tg3.c