Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 40150
b: refs/heads/master
c: 733b736
h: refs/heads/master
v: v3
  • Loading branch information
Arnaud Patard authored and Francois Romieu committed Oct 12, 2006
1 parent abb6ab9 commit deb7c5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 73f5e28b336772c4b08ee82e5bf28ab872898ee1
refs/heads/master: 733b736c91dd2c556f35dffdcf77e667cf10cefc
6 changes: 5 additions & 1 deletion trunk/drivers/net/r8169.c
Original file line number Diff line number Diff line change
Expand Up @@ -2702,6 +2702,7 @@ static void rtl8169_down(struct net_device *dev)
struct rtl8169_private *tp = netdev_priv(dev);
void __iomem *ioaddr = tp->mmio_addr;
unsigned int poll_locked = 0;
unsigned int intrmask;

rtl8169_delete_timer(dev);

Expand Down Expand Up @@ -2740,8 +2741,11 @@ static void rtl8169_down(struct net_device *dev)
* 2) dev->change_mtu
* -> rtl8169_poll can not be issued again and re-enable the
* interruptions. Let's simply issue the IRQ down sequence again.
*
* No loop if hotpluged or major error (0xffff).
*/
if (RTL_R16(IntrMask))
intrmask = RTL_R16(IntrMask);
if (intrmask && (intrmask != 0xffff))
goto core_down;

rtl8169_tx_clear(tp);
Expand Down

0 comments on commit deb7c5b

Please sign in to comment.