]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: fix incorrect PHY register reads
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 10 Dec 2011 08:21:47 +0000 (08:21 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:34:53 +0000 (22:34 +0800)
commit424b24ff588adac3c554deca13e1c80620ab6996
treeb08a3c6b7cacc35ff54262074d084849915551dd
parentab0ade1ca50699bfaff378a248773a31732b2425
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.

(cherry picked from commit c1085b10925a3271f90cb9619f22835e701e8657)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_common.c