sfc: Use generic MDIO functions and definitions
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 29 Apr 2009 08:05:08 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Apr 2009 00:32:30 +0000 (17:32 -0700)
commit68e7f45e118f98b77cfa007aa2d97b5dac69fe6b
treed2e05579a0fc1f5a28bce8ff09ac6863d1907186
parent1b1c2e95103ce391c2ea39a9460968fcb73deb30
sfc: Use generic MDIO functions and definitions

Make use of the newly-added generic MDIO clause 45 support and remove
redundant definitions.

Add an 'efx_' prefix to the remaining driver-specific MDIO functions
and remove arguments which are redundant with efx->mdio.prtad.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/net/sfc/Kconfig
drivers/net/sfc/efx.c
drivers/net/sfc/ethtool.c
drivers/net/sfc/falcon.c
drivers/net/sfc/falcon_hwdefs.h
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/selftest.c
drivers/net/sfc/selftest.h
drivers/net/sfc/tenxpress.c
drivers/net/sfc/xenpack.h
drivers/net/sfc/xfp_phy.c