tg3: Use mii_advertise_flowctrl
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 14 Dec 2011 11:10:00 +0000 (11:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Dec 2011 18:09:11 +0000 (13:09 -0500)
commitf88788f0da6326cbcaa837e12c8c074027891f07
tree1870e30248509a56538961d1f43347982b03b35d
parent55086ad95d740577def0b4e6ecc2c0ae9b0d6dec
tg3: Use mii_advertise_flowctrl

This patch replaces tg3's internal tg3_advert_flowctrl_1000T function
with mii_advertise_flowctrl provided by the kernel headers.

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