Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24889
b: refs/heads/master
c: 0000754
h: refs/heads/master
i:
  24887: 8195b20
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Mar 31, 2006
1 parent 04ae422 commit c1fe4c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: 88b9adb073b7a69a54b1b14423103bc24587ebdc
refs/heads/master: 0000754c27f07d5656eff17367c05dc4cfb7d965
12 changes: 5 additions & 7 deletions trunk/drivers/net/3c59x.c
Original file line number Diff line number Diff line change
Expand Up @@ -2083,16 +2083,14 @@ vortex_error(struct net_device *dev, int status)
}
if (tx_status & 0x14) vp->stats.tx_fifo_errors++;
if (tx_status & 0x38) vp->stats.tx_aborted_errors++;
if (tx_status & 0x08) vp->xstats.tx_max_collisions++;
iowrite8(0, ioaddr + TxStatus);
if (tx_status & 0x30) { /* txJabber or txUnderrun */
do_tx_reset = 1;
} else if (tx_status & 0x08) { /* maxCollisions */
vp->xstats.tx_max_collisions++;
if (vp->drv_flags & MAX_COLLISION_RESET) {
do_tx_reset = 1;
reset_mask = 0x0108; /* Reset interface logic, but not download logic */
}
} else { /* Merely re-enable the transmitter. */
} else if ((tx_status & 0x08) && (vp->drv_flags & MAX_COLLISION_RESET)) { /* maxCollisions */
do_tx_reset = 1;
reset_mask = 0x0108; /* Reset interface logic, but not download logic */
} else { /* Merely re-enable the transmitter. */
iowrite16(TxEnable, ioaddr + EL3_CMD);
}
}
Expand Down

0 comments on commit c1fe4c3

Please sign in to comment.