Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 134305
b: refs/heads/master
c: 612e244
h: refs/heads/master
i:
  134303: ddbb125
v: v3
  • Loading branch information
Alex Chiang authored and David S. Miller committed Feb 6, 2009
1 parent 5bb6008 commit 0febce9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 34b0368c6864321c7020ddc8cbaec9a63b4e3de8
refs/heads/master: 612e244c12215f6f74973ea3b89bff96450dc530
2 changes: 1 addition & 1 deletion trunk/drivers/net/e1000e/ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/e1000e/lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ s32 e1000e_check_for_fiber_link(struct e1000_hw *hw)
ew32(TXCW, mac->txcw);
ew32(CTRL, (ctrl & ~E1000_CTRL_SLU));

mac->serdes_has_link = 1;
mac->serdes_has_link = true;
}

return 0;
Expand Down Expand Up @@ -566,7 +566,7 @@ s32 e1000e_check_for_serdes_link(struct e1000_hw *hw)
ew32(TXCW, mac->txcw);
ew32(CTRL, (ctrl & ~E1000_CTRL_SLU));

mac->serdes_has_link = 1;
mac->serdes_has_link = true;
} else if (!(E1000_TXCW_ANE & er32(TXCW))) {
/*
* If we force link for non-auto-negotiation switch, check
Expand Down

0 comments on commit 0febce9

Please sign in to comment.