[netdrvr] sfc: sfc: Add self-test support
authorBen Hutchings <bhutchings@solarflare.com>
Wed, 7 May 2008 12:36:19 +0000 (13:36 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 May 2008 05:31:44 +0000 (01:31 -0400)
commit3273c2e8c66a21ae1c53b0c730ee937c6efde7e2
treeee2a1f187c0310e229f51fbfc5fbbe7a5fce5b76
parent05e3ec04460180f48810cddc2f78e80a725657ad
[netdrvr] sfc: sfc: Add self-test support

Add a set of self-tests accessible thorugh ethtool.
Add hardware loopback and TX disable control code to support them.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
14 files changed:
drivers/net/sfc/Makefile
drivers/net/sfc/enum.h
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/rx.c
drivers/net/sfc/selftest.c [new file with mode: 0644]
drivers/net/sfc/selftest.h [new file with mode: 0644]
drivers/net/sfc/tenxpress.c
drivers/net/sfc/xfp_phy.c