[TG3]: Add 1000T & 1000X flowctl adv helpers
authorMatt Carlson <mcarlson@broadcom.com>
Fri, 21 Dec 2007 04:08:00 +0000 (20:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:31 +0000 (14:59 -0800)
commitba4d07a8483e6ec0de3194960f8aca862711454c
tree9f69fc77c1d3768cfd88575a42a38715a2e48011
parent95937268b7c4c334a3d98f7177c7d5a00b74b2e7
[TG3]: Add 1000T & 1000X flowctl adv helpers

This patch adds two functions designed to convert abstract TX & RX
flow control parameters to 1000-BaseT and 1000-BaseX autonegotiation
advertisements.  Code that uses standard definitions which statically
advertises TX & RX flow control has been replaced with code that
configures the advertisements based on administrator dictated
preferences.

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