]> git.baikalelectronics.ru Git - 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)
commit7aa4f7ad90815e71fdb8e90be9d3b3627726ba2c
tree132cdd9490c54e46e8a9d83988d8c8a428e1bd9b
parent824906cf50fd974551efc93f85d81e8e249f74f9
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