lkml.org 
[lkml]   [2000]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectpatch for at1700.c

After much distilling, I've found the critical thing that Hiroaki
Nagoya's at1700 driver does differently from the one in the mainstream
tree. This patch prevents the card from locking up completely during
a transmit timeout. I have no manuals and I don't know why it works,
but it does, and the change seems harmless enough...

--- linux/drivers/net/at1700.c.orig Tue Jul 18 17:44:11 2000
+++ linux/drivers/net/at1700.c Thu Jul 27 19:43:01 2000
@@ -557,7 +557,8 @@
/* ToDo: We should try to restart the adaptor... */
outw (0xffff, ioaddr + 24);
outw (0xffff, ioaddr + TX_STATUS);
- outw (0xe85a, ioaddr + CONFIG_0);
+ outb (0x5a, ioaddr + CONFIG_0);
+ outb (0xe8, ioaddr + CONFIG_1);
outw (0x8182, ioaddr + TX_INTR);
outb (0x00, ioaddr + TX_START);
outb (0x03, ioaddr + COL16CNTL);

--
Brian S. Julin


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.033 / U:0.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site