commit | 93d3ce8fafb888702311fc8c5917faa4c25b8266 | [log] [tgz] |
---|---|---|
author | Emil Tantilov <emil.s.tantilov@intel.com> | Wed Oct 19 07:59:55 2011 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Nov 02 16:55:23 2011 -0700 |
tree | 0cc09c215d5f29928c4e0b75e34a39b050f6a194 | |
parent | 232ef6bc451de2bc17c22fd116838cd89b94e1c1 [diff] |
ixgbe: fix disabling of Tx laser at probe register_netdev() calls ndo_set_features() which may result in HW reset which in turn will bring the laser back up. This patch moves ixgbe_laser_tx_disable() below register_netdev() in ixgbe_probe() to make sure laser is shut off on load. 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>