diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2008-07-08 18:52:13 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-07-11 01:20:29 -0400 |
commit | 03f83041d836022a17258c2731f6221f248bedcb (patch) | |
tree | ff1e1aba41622705023e879c920258d3fa6811ad /drivers/net/ixgb/ixgb_ee.c | |
parent | 7490d71a9245fd59e6cd5732cba4d6b744db581a (diff) |
ixgb: format all if( to be if (
this patch is trivial but because I want to have everything be nice and
tidy I'm updating it.
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ixgb/ixgb_ee.c')
-rw-r--r-- | drivers/net/ixgb/ixgb_ee.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ixgb/ixgb_ee.c b/drivers/net/ixgb/ixgb_ee.c index 2f7ed52c7502..ba41d2a54c81 100644 --- a/drivers/net/ixgb/ixgb_ee.c +++ b/drivers/net/ixgb/ixgb_ee.c | |||
@@ -108,7 +108,7 @@ ixgb_shift_out_bits(struct ixgb_hw *hw, | |||
108 | */ | 108 | */ |
109 | eecd_reg &= ~IXGB_EECD_DI; | 109 | eecd_reg &= ~IXGB_EECD_DI; |
110 | 110 | ||
111 | if(data & mask) | 111 | if (data & mask) |
112 | eecd_reg |= IXGB_EECD_DI; | 112 | eecd_reg |= IXGB_EECD_DI; |
113 | 113 | ||
114 | IXGB_WRITE_REG(hw, EECD, eecd_reg); | 114 | IXGB_WRITE_REG(hw, EECD, eecd_reg); |
@@ -159,7 +159,7 @@ ixgb_shift_in_bits(struct ixgb_hw *hw) | |||
159 | eecd_reg = IXGB_READ_REG(hw, EECD); | 159 | eecd_reg = IXGB_READ_REG(hw, EECD); |
160 | 160 | ||
161 | eecd_reg &= ~(IXGB_EECD_DI); | 161 | eecd_reg &= ~(IXGB_EECD_DI); |
162 | if(eecd_reg & IXGB_EECD_DO) | 162 | if (eecd_reg & IXGB_EECD_DO) |
163 | data |= 1; | 163 | data |= 1; |
164 | 164 | ||
165 | ixgb_lower_clock(hw, &eecd_reg); | 165 | ixgb_lower_clock(hw, &eecd_reg); |
@@ -300,7 +300,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw) | |||
300 | for(i = 0; i < 200; i++) { | 300 | for(i = 0; i < 200; i++) { |
301 | eecd_reg = IXGB_READ_REG(hw, EECD); | 301 | eecd_reg = IXGB_READ_REG(hw, EECD); |
302 | 302 | ||
303 | if(eecd_reg & IXGB_EECD_DO) | 303 | if (eecd_reg & IXGB_EECD_DO) |
304 | return (true); | 304 | return (true); |
305 | 305 | ||
306 | udelay(50); | 306 | udelay(50); |
@@ -331,7 +331,7 @@ ixgb_validate_eeprom_checksum(struct ixgb_hw *hw) | |||
331 | for(i = 0; i < (EEPROM_CHECKSUM_REG + 1); i++) | 331 | for(i = 0; i < (EEPROM_CHECKSUM_REG + 1); i++) |
332 | checksum += ixgb_read_eeprom(hw, i); | 332 | checksum += ixgb_read_eeprom(hw, i); |
333 | 333 | ||
334 | if(checksum == (u16) EEPROM_SUM) | 334 | if (checksum == (u16) EEPROM_SUM) |
335 | return (true); | 335 | return (true); |
336 | else | 336 | else |
337 | return (false); | 337 | return (false); |