]> git.openfabrics.org - ~emulex/infiniband.git/commit
sfc: Change state names to be clearer, and comment them
authorBen Hutchings <bhutchings@solarflare.com>
Fri, 27 Jul 2012 18:31:16 +0000 (19:31 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Fri, 24 Aug 2012 19:10:18 +0000 (20:10 +0100)
commitf16aeea0e679d5fd43fc02e99569c52d77d5e5d3
treea22f669f90d69705f56718130744d196876b95c7
parent9714284f83387d330496758e5c10a649fd9a677d
sfc: Change state names to be clearer, and comment them

STATE_INIT and STATE_FINI are equivalent and represent incompletely
initialised states; combine them as STATE_UNINIT.

Rename STATE_RUNNING to STATE_READY, to avoid confusion with
netif_running() and IFF_RUNNING.

The comments do not quite match current usage, but this will be
corrected in subsequent fixes.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/ethtool.c
drivers/net/ethernet/sfc/falcon_boards.c
drivers/net/ethernet/sfc/net_driver.h