diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-28 22:43:56 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 19:46:32 -0500 |
commit | 152b6a62aea2d43359dd37004e9c218bf7bdeb3b (patch) | |
tree | fe7361364a94322a713d6b06cc6d0d7513d55c72 /drivers/net/sfc/selftest.c | |
parent | 06629f07248b259e08a6e4089fbe6aa3f98dfbe6 (diff) |
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>
Diffstat (limited to 'drivers/net/sfc/selftest.c')
-rw-r--r-- | drivers/net/sfc/selftest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/selftest.c b/drivers/net/sfc/selftest.c index fa56e2e8e9c5..9a240536debc 100644 --- a/drivers/net/sfc/selftest.c +++ b/drivers/net/sfc/selftest.c | |||
@@ -164,7 +164,7 @@ static int efx_test_interrupts(struct efx_nic *efx, | |||
164 | goto success; | 164 | goto success; |
165 | } | 165 | } |
166 | 166 | ||
167 | falcon_generate_interrupt(efx); | 167 | efx_nic_generate_interrupt(efx); |
168 | 168 | ||
169 | /* Wait for arrival of test interrupt. */ | 169 | /* Wait for arrival of test interrupt. */ |
170 | EFX_LOG(efx, "waiting for test interrupt\n"); | 170 | EFX_LOG(efx, "waiting for test interrupt\n"); |
@@ -202,7 +202,7 @@ static int efx_test_eventq_irq(struct efx_channel *channel, | |||
202 | channel->eventq_magic = 0; | 202 | channel->eventq_magic = 0; |
203 | smp_wmb(); | 203 | smp_wmb(); |
204 | 204 | ||
205 | falcon_generate_test_event(channel, magic); | 205 | efx_nic_generate_test_event(channel, magic); |
206 | 206 | ||
207 | /* Wait for arrival of interrupt */ | 207 | /* Wait for arrival of interrupt */ |
208 | count = 0; | 208 | count = 0; |