ixgbe: fix incorrect PHY register reads
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 10 Dec 2011 08:21:47 +0000 (08:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Jan 2012 01:42:46 +0000 (17:42 -0800)
commitc1085b10925a3271f90cb9619f22835e701e8657
tree004804a7ef627b4678fa14447a6e98c6a917ef2d
parentf83396ad8318db0d5e55756a496af61a217bbfda
ixgbe: fix incorrect PHY register reads

Fix some register reads that had the opcode and register parameters swapped.
Also use define instead of a magic (0x3) number.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c