aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/phy.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2009-11-20 18:26:44 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-21 14:34:18 -0500
commit564ea9bba1a1380d5474504bcd943ee84075534f (patch)
tree8378c606230b63ad403927ba4018fb2eb588efb6 /drivers/net/e1000e/phy.c
parent84efb7b968ab91d0099620865b3f563eb0ddf5a6 (diff)
e1000e: set bools to true/false instead of 1/0
Set booleans to 'true' or 'false' to make it clear it is a boolean. Also change instances of TRUE/FALSE in comments to lowercase true/false. Signed-off-by: Bruce Allan <bruce.w.allan@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/e1000e/phy.c')
-rw-r--r--drivers/net/e1000e/phy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/e1000e/phy.c b/drivers/net/e1000e/phy.c
index 440f366b73f6..99d53fae4307 100644
--- a/drivers/net/e1000e/phy.c
+++ b/drivers/net/e1000e/phy.c
@@ -834,7 +834,7 @@ s32 e1000e_copper_link_setup_igp(struct e1000_hw *hw)
834 msleep(100); 834 msleep(100);
835 835
836 /* disable lplu d0 during driver init */ 836 /* disable lplu d0 during driver init */
837 ret_val = e1000_set_d0_lplu_state(hw, 0); 837 ret_val = e1000_set_d0_lplu_state(hw, false);
838 if (ret_val) { 838 if (ret_val) {
839 e_dbg("Error Disabling LPLU D0\n"); 839 e_dbg("Error Disabling LPLU D0\n");
840 return ret_val; 840 return ret_val;
@@ -1545,7 +1545,7 @@ s32 e1000e_check_downshift(struct e1000_hw *hw)
1545 break; 1545 break;
1546 default: 1546 default:
1547 /* speed downshift not supported */ 1547 /* speed downshift not supported */
1548 phy->speed_downgraded = 0; 1548 phy->speed_downgraded = false;
1549 return 0; 1549 return 0;
1550 } 1550 }
1551 1551
@@ -1907,7 +1907,7 @@ s32 e1000e_get_phy_info_igp(struct e1000_hw *hw)
1907 return -E1000_ERR_CONFIG; 1907 return -E1000_ERR_CONFIG;
1908 } 1908 }
1909 1909
1910 phy->polarity_correction = 1; 1910 phy->polarity_correction = true;
1911 1911
1912 ret_val = e1000_check_polarity_igp(hw); 1912 ret_val = e1000_check_polarity_igp(hw);
1913 if (ret_val) 1913 if (ret_val)