commit | 19e588e7d156cc4415585edd8c27c3075f62eaf8 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Jul 07 13:01:55 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 08 10:46:43 2009 -0700 |
tree | 132cdd9490c54e46e8a9d83988d8c8a428e1bd9b | |
parent | 5ca1ea23c4581f961afaddf1599970e6f05d02dc [diff] |
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>