summaryrefslogtreecommitdiffstats
path: root/drivers/net/igbvf/regs.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2010-11-16 19:27:19 -0800
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2010-11-16 19:27:19 -0800
commit5d426ad1af31ac27d7c2222f20eec9d0a8aeac42 (patch)
treeac50230f264617273735d0697e2a183fe81e460e /drivers/net/igbvf/regs.h
parente2ddeba95c09d0d44719ff005e915dc06ff46571 (diff)
ixgbevf: Fix Oops
The driver is calling netif_carrier_off and netif_tx_stop_all_queues before the netdevice is registered which causes an Oops. Move call to netif_carrier_off after the netdevice is registered and remove call to netif_tx_stop_all_queues because there aren't any TX queues yet. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/igbvf/regs.h')
0 files changed, 0 insertions, 0 deletions