2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/net/e1000e
Jesse Brandeburg 9c563d2067 e1000e: indicate link down at load
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.

Andy tested this for e1000e and confirmed it was working for him.

see thread: http://marc.info/?l=linux-netdev&m=123946479705636&w=2

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Andy 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:39 -07:00
..
82571.c e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
defines.h e1000e: Disable dynamic clock gating for 82571 per si errata. 2009-02-10 17:00:27 -08:00
e1000.h e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
es2lan.c drivers/net/e1000e: fix sparse warnings: make symbols static 2008-12-26 00:00:37 -08:00
ethtool.c e1000e: add support for 82583 device id 2009-03-20 01:17:18 -07:00
hw.h e1000e: add support for 82574 device ID 0x10F6 2009-03-24 23:28:02 -07:00
ich8lan.c e1000e: Remove mutex_trylock and associated WARN on failure. 2009-02-14 23:46:10 -08:00
lib.c e1000e: fix loss of multicast packets 2009-03-26 01:09:59 -07:00
Makefile e1000e: reformat comment blocks, cosmetic changes only 2008-03-28 22:14:56 -04:00
netdev.c e1000e: indicate link down at load 2009-04-20 02:00:39 -07:00
param.c e1000e: fix IPMI traffic 2008-11-16 19:05:16 -08:00
phy.c e1000e: sync change flow control variables with ixgbe 2008-11-21 16:57:36 -08:00