sfc: Move Falcon NIC operations to efx_nic_type

This is preparation for adding differing implementations for new NICs.

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:42:31 +00:00
committed by David S. Miller
parent 4b0d29dcfc
commit ef2b90ee4d
6 changed files with 105 additions and 63 deletions

View File

@@ -649,7 +649,7 @@ static int efx_ethtool_set_coalesce(struct net_device *net_dev,
efx_init_irq_moderation(efx, tx_usecs, rx_usecs, adaptive);
efx_for_each_channel(channel, efx)
falcon_set_int_moderation(channel);
efx->type->push_irq_moderation(channel);
return 0;
}