aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_82598.c
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2011-02-19 03:43:44 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-03-03 07:20:18 -0500
commit8c7bea32c4ebe02dbb574a49db418036da177326 (patch)
treeb6c0928b4fb646a661d8b08ca72634dcab503805 /drivers/net/ixgbe/ixgbe_82598.c
parent63d778df6d817ea69cadd701abbfa1c491623b50 (diff)
ixgbe: Numerous whitespace / formatting cleanups
This patch contains a number of whitespace and formatting cleanups. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Stephen Ko <stephen.s.ko@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82598.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_82598.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c
index a5b83b775b6c..8f5e347ac003 100644
--- a/drivers/net/ixgbe/ixgbe_82598.c
+++ b/drivers/net/ixgbe/ixgbe_82598.c
@@ -627,7 +627,6 @@ out:
627 return 0; 627 return 0;
628} 628}
629 629
630
631/** 630/**
632 * ixgbe_setup_mac_link_82598 - Set MAC link speed 631 * ixgbe_setup_mac_link_82598 - Set MAC link speed
633 * @hw: pointer to hardware structure 632 * @hw: pointer to hardware structure
@@ -698,7 +697,6 @@ static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
698 /* Setup the PHY according to input speed */ 697 /* Setup the PHY according to input speed */
699 status = hw->phy.ops.setup_link_speed(hw, speed, autoneg, 698 status = hw->phy.ops.setup_link_speed(hw, speed, autoneg,
700 autoneg_wait_to_complete); 699 autoneg_wait_to_complete);
701
702 /* Set up MAC */ 700 /* Set up MAC */
703 ixgbe_start_mac_link_82598(hw, autoneg_wait_to_complete); 701 ixgbe_start_mac_link_82598(hw, autoneg_wait_to_complete);
704 702
@@ -1013,13 +1011,12 @@ static s32 ixgbe_write_analog_reg8_82598(struct ixgbe_hw *hw, u32 reg, u8 val)
1013} 1011}
1014 1012
1015/** 1013/**
1016 * ixgbe_read_i2c_eeprom_82598 - Read 8 bit EEPROM word of an SFP+ module 1014 * ixgbe_read_i2c_eeprom_82598 - Reads 8 bit word over I2C interface.
1017 * over I2C interface through an intermediate phy.
1018 * @hw: pointer to hardware structure 1015 * @hw: pointer to hardware structure
1019 * @byte_offset: EEPROM byte offset to read 1016 * @byte_offset: EEPROM byte offset to read
1020 * @eeprom_data: value read 1017 * @eeprom_data: value read
1021 * 1018 *
1022 * Performs byte read operation to SFP module's EEPROM over I2C interface. 1019 * Performs 8 byte read operation to SFP module's EEPROM over I2C interface.
1023 **/ 1020 **/
1024static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset, 1021static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
1025 u8 *eeprom_data) 1022 u8 *eeprom_data)