]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Consolidate autoneg advertisement setup code
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 19 May 2011 12:12:49 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 May 2011 22:00:00 +0000 (18:00 -0400)
commit9158bf7dff6bc10cc7c1275ae7cc01dc5cf10913
treef7e12d489f81d6acf0d4b1e0ac693abcb5643fdf
parent752f7c094caadd012a6a512e01b877914e8955fe
tg3: Consolidate autoneg advertisement setup code

Autonegotiation setup has gotten a little more complicated since the tg3
driver was created.  This patch consolidates autoneg setup into one
routine and modifies the call sites accordingly.

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