igb: fix PHY config access on 82580
authorNick Nunley <[email protected]>
Thu, 1 Jul 2010 13:37:54 +0000 (13:37 +0000)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Tested-by: Jeff Pieper <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/igb/e1000_82575.c
drivers/net/igb/e1000_defines.h