lkml.org 
[lkml]   [2001]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.4.1-ac1: W89c840 -- printout inconsistency?
Hi,

While working on the CPU capabilities changes I noticed the W89c840
driver prints a different cache alignment from what it really sets. It's
possible that it's the intended behaviour, but I really doubt it. I don't
have such a board and I haven't ever used the driver.

The following patch fixes it.

Maciej

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +

patch-2.4.1-ac1-winbond-0
diff -up --recursive --new-file linux-2.4.1-ac1.macro/drivers/net/winbond-840.c linux-2.4.1-ac1/drivers/net/winbond-840.c
--- linux-2.4.1-ac1.macro/drivers/net/winbond-840.c Sat Feb 3 12:16:41 2001
+++ linux-2.4.1-ac1/drivers/net/winbond-840.c Sun Feb 4 17:12:28 2001
@@ -832,7 +832,7 @@ static void init_registers(struct net_de
if (x86 <= 4)
printk(KERN_INFO "%s: This is a 386/486 PCI system, setting cache "
"alignment to %x.\n", dev->name,
- (x86 <= 4 ? 0x4810 : 0x8010));
+ (x86 <= 4 ? 0x4810 : 0xE010));
#endif
#else
writel(0xE010, ioaddr + PCIBusCfg);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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