sfc: Make PHY flash mode a device attribute, not a module parameter
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 1 Sep 2008 11:48:17 +0000 (12:48 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 3 Sep 2008 13:53:47 +0000 (09:53 -0400)
commitf8b87c17017f2ce1890fb9a7f85fb0fbf5643e37
tree261a31a95d2fa296ef7abaf6019ff5b7c86bbc63
parent3594e131b23665b728b4c98daaf0b61b1d4aaa7a
sfc: Make PHY flash mode a device attribute, not a module parameter

This allows updating PHY firmware for one interface without removing
all other interfaces handled by the driver.

Replace tx_disabled flags and 10Xpress status enumeration with flags in
enum efx_phy_mode.

Prevent an interface from being brought up while in PHY flash mode.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/boards.h
drivers/net/sfc/efx.c
drivers/net/sfc/falcon_xmac.c
drivers/net/sfc/mdio_10g.c
drivers/net/sfc/net_driver.h
drivers/net/sfc/phy.h
drivers/net/sfc/sfe4001.c
drivers/net/sfc/tenxpress.c
drivers/net/sfc/xfp_phy.c