]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
igb: set lan id prior to configuring phy
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Jul 2009 13:01:55 +0000 (13:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2009 17:46:43 +0000 (10:46 -0700)
commit19e588e7d156cc4415585edd8c27c3075f62eaf8
tree132cdd9490c54e46e8a9d83988d8c8a428e1bd9b
parent5ca1ea23c4581f961afaddf1599970e6f05d02dc
igb: set lan id prior to configuring phy

The igb driver was defaulting to using the lock for pci-e function 0 for
all of the phys due to the fact that the lan id was not being set prior to
initialization.  This change makes it so that the function id is set prior
to checking for the phy id.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_82575.c