linux-stable/drivers/net/ixgb
Jesse Brandeburg 3a6d1bc416 ixgb: fix link down initial 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.

in addition this driver appeared to need a netif_start_queue at
the end of open.

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
..
ixgb.h drivers/net: replace __FUNCTION__ with __func__ 2008-09-24 18:59:00 -04:00
ixgb_ee.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ee.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ethtool.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_hw.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_hw.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_ids.h ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
ixgb_main.c ixgb: fix link down initial state 2009-04-20 02:00:38 -07:00
ixgb_osdep.h drivers/net: replace BUG() with BUG_ON() if possible 2009-04-13 15:44:36 -07:00
ixgb_param.c ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00
Makefile ixgb: update copyright dates and versions 2008-07-11 01:20:31 -04:00