igb: fix PHY config access on 82580
authorNick Nunley <nicholasx.d.nunley@intel.com>
Thu, 1 Jul 2010 13:37:54 +0000 (13:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2010 05:45:55 +0000 (22:45 -0700)
commitede3ef0d940ef052466f42c849390b23c6859abc
treebf222dc6133e09189011fa39ba02ec2f96c7644e
parent7475271004b66e9c22e1bb28f240a38c5d6fe76e
igb: fix PHY config access on 82580

82580 NICs can have up to 4 functions. This fixes phy accesses
to use the correct locks for functions 2 and 3.

Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@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
drivers/net/igb/e1000_defines.h