sfc: Encapsulate access to efx_{channel,nic}::last_irq_cpu in self-test
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 28 Feb 2012 23:37:35 +0000 (23:37 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 6 Mar 2012 18:14:15 +0000 (18:14 +0000)
commiteee6f6a9e0c83811de77a137989d4a3289e297cc
tree88f5a56b976c0c26177eeaf2b0f115e9153b92d1
parented74f48087d1b1cf7cf534dad03bf1584eee783d
sfc: Encapsulate access to efx_{channel,nic}::last_irq_cpu in self-test

Cleanup in preparation for doing an event test on ifup.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/nic.c
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/selftest.c