diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-10-19 07:59:55 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-11-02 16:55:23 -0700 |
commit | 93d3ce8fafb888702311fc8c5917faa4c25b8266 (patch) | |
tree | 0cc09c215d5f29928c4e0b75e34a39b050f6a194 /fs/bio.c | |
parent | 232ef6bc451de2bc17c22fd116838cd89b94e1c1 (diff) | |
download | blackbird-op-linux-93d3ce8fafb888702311fc8c5917faa4c25b8266.tar.gz blackbird-op-linux-93d3ce8fafb888702311fc8c5917faa4c25b8266.zip |
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>
Diffstat (limited to 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions