sfc: Separate shared NIC code from Falcon-specific and rename accordingly

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ben Hutchings
2009-11-29 03:43:56 +00:00
committed by David S. Miller
parent 06629f0724
commit 152b6a62ae
7 changed files with 341 additions and 306 deletions

View File

@@ -164,7 +164,7 @@ static int efx_test_interrupts(struct efx_nic *efx,
goto success;
}
falcon_generate_interrupt(efx);
efx_nic_generate_interrupt(efx);
/* Wait for arrival of test interrupt. */
EFX_LOG(efx, "waiting for test interrupt\n");
@@ -202,7 +202,7 @@ static int efx_test_eventq_irq(struct efx_channel *channel,
channel->eventq_magic = 0;
smp_wmb();
falcon_generate_test_event(channel, magic);
efx_nic_generate_test_event(channel, magic);
/* Wait for arrival of interrupt */
count = 0;