Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290074
b: refs/heads/master
c: f92518d
h: refs/heads/master
v: v3
  • Loading branch information
Bruce Allan authored and Jeff Kirsher committed Feb 10, 2012
1 parent 7257d81 commit 0940cfd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: ec34c170da8798f521f0d40cad54580ff93cea3a
refs/heads/master: f92518ddec7ce0ef2f7e91ae5f07e0a9e19055bf
6 changes: 3 additions & 3 deletions trunk/drivers/net/ethernet/intel/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ static irqreturn_t e1000_intr_msi(int irq, void *data)
*/

if (icr & E1000_ICR_LSC) {
hw->mac.get_link_status = 1;
hw->mac.get_link_status = true;
/*
* ICH8 workaround-- Call gig speed drop workaround on cable
* disconnect (LSC) before accessing any PHY registers
Expand Down Expand Up @@ -1718,7 +1718,7 @@ static irqreturn_t e1000_intr(int irq, void *data)
*/

if (icr & E1000_ICR_LSC) {
hw->mac.get_link_status = 1;
hw->mac.get_link_status = true;
/*
* ICH8 workaround-- Call gig speed drop workaround on cable
* disconnect (LSC) before accessing any PHY registers
Expand Down Expand Up @@ -1775,7 +1775,7 @@ static irqreturn_t e1000_msix_other(int irq, void *data)
if (icr & E1000_ICR_OTHER) {
if (!(icr & E1000_ICR_LSC))
goto no_link_interrupt;
hw->mac.get_link_status = 1;
hw->mac.get_link_status = true;
/* guard against interrupt when we're going down */
if (!test_bit(__E1000_DOWN, &adapter->state))
mod_timer(&adapter->watchdog_timer, jiffies + 1);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/net/ethernet/intel/e1000e/phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ static s32 e1000_copper_link_autoneg(struct e1000_hw *hw)
}
}

hw->mac.get_link_status = 1;
hw->mac.get_link_status = true;

return ret_val;
}
Expand Down

0 comments on commit 0940cfd

Please sign in to comment.