aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/falcon.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-28 22:43:15 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-29 19:46:29 -0500
commiteb9f6744cbfa97674c13263802259b5aa0034594 (patch)
treeae57310bc8fd9b7b21e6d6ca63853bcae002a5c2 /drivers/net/sfc/falcon.c
parent89c758fa47b54d8ce10d2b39ed09de6da0ba4324 (diff)
sfc: Implement ethtool reset operation
Refactor efx_reset_down() and efx_reset_up() accordingly. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon.c')
-rw-r--r--drivers/net/sfc/falcon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c
index 8f2c58305538..6a96c699e15b 100644
--- a/drivers/net/sfc/falcon.c
+++ b/drivers/net/sfc/falcon.c
@@ -3305,6 +3305,7 @@ struct efx_nic_type falcon_a1_nic_type = {
3305 .phys_addr_channels = 4, 3305 .phys_addr_channels = 4,
3306 .tx_dc_base = 0x130000, 3306 .tx_dc_base = 0x130000,
3307 .rx_dc_base = 0x100000, 3307 .rx_dc_base = 0x100000,
3308 .reset_world_flags = ETH_RESET_IRQ,
3308}; 3309};
3309 3310
3310struct efx_nic_type falcon_b0_nic_type = { 3311struct efx_nic_type falcon_b0_nic_type = {
@@ -3348,5 +3349,6 @@ struct efx_nic_type falcon_b0_nic_type = {
3348 * channels */ 3349 * channels */
3349 .tx_dc_base = 0x130000, 3350 .tx_dc_base = 0x130000,
3350 .rx_dc_base = 0x100000, 3351 .rx_dc_base = 0x100000,
3352 .reset_world_flags = ETH_RESET_IRQ,
3351}; 3353};
3352 3354