linux/drivers/net/igb
Jesse Brandeburg b168dfc516 igb: fix link down inital state
As reported by Andrew Lutomirski <amluto@gmail.com>

All the intel wired ethernet drivers were calling netif_carrier_off
and netif_stop_queue (or variants) before calling register_netdevice

This is incorrect behavior as was pointed out by davem, and causes
ifconfig and friends to report a strange state before first link
after the driver was loaded, since without a netif_carrier_off, the stack
assumes carrier_on, but before register_netdev, netlink messages are not
sent out telling link state.

This apparently confused *some* versions of networkmanager.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reported-by: Andrew Lutomirski <amluto@gmail.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-20 02:00:38 -07:00
..
e1000_82575.c igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_82575.h igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00
e1000_defines.h igb: support wol on second port 2009-03-14 12:41:03 -07:00
e1000_hw.h igb: add support for 82576 quad copper adapter 2009-03-14 12:41:06 -07:00
e1000_mac.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mac.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.c igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_mbx.h igb: fix unused external references introduced with sr-iov changes 2009-04-11 02:55:12 -07:00
e1000_nvm.c igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_nvm.h igb: PCI-Express 82575 Gigabit Ethernet driver 2008-01-28 15:10:33 -08:00
e1000_phy.c igb: increase delay for copper link setup 2009-04-02 00:59:07 -07:00
e1000_phy.h igb: update version number and copyright dates 2009-02-07 02:43:17 -08:00
e1000_regs.h igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00
igb_ethtool.c igb: cleanup igb loopback path 2009-04-02 00:59:08 -07:00
igb_main.c igb: fix link down inital state 2009-04-20 02:00:38 -07:00
igb.h igb: remove IGB_DESC_UNUSED since it is better handled by a function call 2009-03-21 16:57:01 -07:00
Makefile igb: Add support for enabling VFs to PF driver. 2009-02-20 00:22:54 -08:00