patch-1.3.90 linux/drivers/net/3c59x.c
Next file: linux/drivers/net/dlci.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Apr 16 15:37:55 1996
- Orig file:
v1.3.89/linux/drivers/net/3c59x.c
- Orig date:
Fri Apr 12 15:51:54 1996
diff -u --recursive --new-file v1.3.89/linux/drivers/net/3c59x.c linux/drivers/net/3c59x.c
@@ -692,7 +692,7 @@
dev->tbusy = 0;
} else
/* Interrupt us when the FIFO has room for max-sized packet. */
- outw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
+ outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD);
}
#else
/* ... and the packet rounded to a doubleword. */
@@ -702,7 +702,7 @@
dev->tbusy = 0;
} else
/* Interrupt us when the FIFO has room for max-sized packet. */
- outw(SetTxThreshold + 1536, ioaddr + EL3_CMD);
+ outw(SetTxThreshold + (1536>>2), ioaddr + EL3_CMD);
#endif /* bus master */
dev->trans_start = jiffies;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this