diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2009-04-17 22:44:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-04-20 11:00:39 +0200 |
commit | eb62efd287fe6e12d18083287e38e4a811c28256 (patch) | |
tree | e6265cd0ff517cfb02fced4988a6fb362f1dc7fd /drivers/net/loopback.c | |
parent | e1000e: indicate link down at load (diff) | |
download | linux-eb62efd287fe6e12d18083287e38e4a811c28256.tar.xz linux-eb62efd287fe6e12d18083287e38e4a811c28256.zip |
e1000: init link state correctly
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.
This apparently confused *some* versions of networkmanager.
Andy tested this for e1000e and confirmed it was working for him.
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>
Diffstat (limited to 'drivers/net/loopback.c')
0 files changed, 0 insertions, 0 deletions