aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_82599.c
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2009-03-13 18:15:31 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-14 15:41:13 -0400
commit4df1046622797804150327bada9fdc564c090417 (patch)
treec7cfdddd52daeb21af714a2c74af9b461fe2b1aa /drivers/net/ixgbe/ixgbe_82599.c
parent885125399e2c72b6466cfd2fbcb755be499b53a2 (diff)
ixgbe: Cleanup some whitespace issues, fixup and add some comments
Cleanup a bit of whitespace, add some function header comments, and fix a few comments around the driver. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Acked-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82599.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_82599.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c
index 56efa98fe3b..beae7e01260 100644
--- a/drivers/net/ixgbe/ixgbe_82599.c
+++ b/drivers/net/ixgbe/ixgbe_82599.c
@@ -404,8 +404,7 @@ s32 ixgbe_setup_mac_link_multispeed_fiber(struct ixgbe_hw *hw)
404{ 404{
405 s32 status = 0; 405 s32 status = 0;
406 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_82599_AUTONEG; 406 ixgbe_link_speed link_speed = IXGBE_LINK_SPEED_82599_AUTONEG;
407 status = ixgbe_setup_mac_link_speed_multispeed_fiber(hw, 407 status = ixgbe_setup_mac_link_speed_multispeed_fiber(hw, link_speed,
408 link_speed,
409 true, true); 408 true, true);
410 return status; 409 return status;
411} 410}
@@ -759,7 +758,7 @@ s32 ixgbe_reset_hw_82599(struct ixgbe_hw *hw)
759 hw->mac.orig_autoc = autoc; 758 hw->mac.orig_autoc = autoc;
760 hw->mac.orig_autoc2 = autoc2; 759 hw->mac.orig_autoc2 = autoc2;
761 hw->mac.orig_link_settings_stored = true; 760 hw->mac.orig_link_settings_stored = true;
762 } else { 761 } else {
763 if (autoc != hw->mac.orig_autoc) 762 if (autoc != hw->mac.orig_autoc)
764 IXGBE_WRITE_REG(hw, IXGBE_AUTOC, (hw->mac.orig_autoc | 763 IXGBE_WRITE_REG(hw, IXGBE_AUTOC, (hw->mac.orig_autoc |
765 IXGBE_AUTOC_AN_RESTART)); 764 IXGBE_AUTOC_AN_RESTART));