sfc: Implement auto-negotiation
authorBen Hutchings <bhutchings@solarflare.com>
Sat, 13 Dec 2008 05:50:46 +0000 (21:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:58:17 +0000 (21:58 -0800)
commit04cc8cacb01c09fba2297faf1477cd570ba43f0b
treef17dbd584b072d14f1500c6f6d659be993ae35c7
parent177dfcd80f28f8fbc3e22c2d8b24d21cb86f1d97
sfc: Implement auto-negotiation

Add infrastructure for auto-negotiation of speed, duplex and flow
control.

When using 10Xpress, auto-negotiate flow control.  While we're
at it, clean up the code to warn when partner is not 10GBASE-T
capable.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/ethtool.c
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon_gmac.c
drivers/net/sfc/falcon_xmac.c
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/mdio_10g.h
drivers/net/sfc/net_driver.h
drivers/net/sfc/tenxpress.c
drivers/net/sfc/xfp_phy.c