patch-pre2.0.13 linux/drivers/net/smc-ultra.c
Next file: linux/drivers/scsi/BusLogic.c
Previous file: linux/drivers/net/lance.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Jun 6 09:54:05 1996
- Orig file:
pre2.0.12/linux/drivers/net/smc-ultra.c
- Orig date:
Tue May 7 16:22:31 1996
diff -u --recursive --new-file pre2.0.12/linux/drivers/net/smc-ultra.c linux/drivers/net/smc-ultra.c
@@ -40,10 +40,11 @@
Paul Gortmaker : multiple card support for module users.
Donald Becker : 4/17/96 PIO support, minor potential problems avoided.
+ Donald Becker : 6/6/96 correctly set auto-wrap bit.
*/
static const char *version =
- "smc-ultra.c:v1.99 4/17/96 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
+ "smc-ultra.c:v2.00 6/6/96 Donald Becker (becker@cesdis.gsfc.nasa.gov)\n";
#include <linux/module.h>
@@ -256,9 +257,10 @@
outb(0x00, ioaddr); /* Disable shared memory for safety. */
outb(0x80, ioaddr + 5);
- if (ei_status.block_input == &ultra_pio_input)
+ if (ei_status.block_input == &ultra_pio_input) {
outb(0x11, ioaddr + 6); /* Enable interrupts and PIO. */
- else
+ outb(0x01, ioaddr + 0x19); /* Enable ring read auto-wrap. */
+ } else
outb(0x01, ioaddr + 6); /* Enable interrupts and memory. */
/* Set the early receive warning level in window 0 high enough not
to receive ERW interrupts. */
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