summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/ethtool.c
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2009-02-05 23:55:45 -0800
committerDavid S. Miller <davem@davemloft.net>2009-02-05 23:55:45 -0800
commit612e244c12215f6f74973ea3b89bff96450dc530 (patch)
tree09d16139ec3e0681e4b682b3ebdccddbb245f0cb /drivers/net/e1000e/ethtool.c
parent34b0368c6864321c7020ddc8cbaec9a63b4e3de8 (diff)
downloadlinux-612e244c12215f6f74973ea3b89bff96450dc530.tar.gz
linux-612e244c12215f6f74973ea3b89bff96450dc530.tar.bz2
linux-612e244c12215f6f74973ea3b89bff96450dc530.zip
e1000e: normalize usage of serdes_has_link
Cosmetic change to use struct e1000_mac_info.serdes_has_link consistently as the 'bool' that it's declared as. No functional change. Signed-off-by: Alex Chiang <achiang@hp.com> Acked-by: Jeff Kirsher <Jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/ethtool.c')
-rw-r--r--drivers/net/e1000e/ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000e/ethtool.c b/drivers/net/e1000e/ethtool.c
index e48956d924b0..2557aeef65e6 100644
--- a/drivers/net/e1000e/ethtool.c
+++ b/drivers/net/e1000e/ethtool.c
@@ -1589,7 +1589,7 @@ static int e1000_link_test(struct e1000_adapter *adapter, u64 *data)
*data = 0;
if (hw->phy.media_type == e1000_media_type_internal_serdes) {
int i = 0;
- hw->mac.serdes_has_link = 0;
+ hw->mac.serdes_has_link = false;
/*
* On some blade server designs, link establishment