commit | 3af50481eee6bb278da9050266ff31804e7a57d6 | [log] [tgz] |
---|---|---|
author | Bruce Allan <bruce.w.allan@intel.com> | Wed Jun 16 13:25:55 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 18 22:12:14 2010 -0700 |
tree | 34350fe19d0b53382060e126cdda662376d1b38a | |
parent | 20c0da65d72598ced2bfd4d4ca9a5aca1c93f5b9 [diff] |
e1000e: cleanup ethtool loopback setup code Refactor the loopback setup code to first handle the only 10/100 PHY supported by the driver if applicable and then handle the 1Gig PHYs in a switch statement for PHY-specific setups. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Emil Tantilov <emil.s.tantilov@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>