lkml.org 
[lkml]   [2001]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Problem with SMC Etherpower II + kernel newer 2.4.2
Juergen Wolf <JuWo@N-Club.de> ecrit :
[...]
> Luckily I got a very helpfull hint from Hans-Christian Armingeon in
> reply to my questions here on the list. The epic100.c from
> http://lrcwww.epfl.ch/~boch/sw/epic100.c.txt fixes the problem in all
> the affected kernel versions.

Interesting.
- /* Donald: If this is for Cardbus only then define it so. It *//*HB*/
- /* breaks the SMC9432BTX Rev 09 boards *//*HB*/
-#ifdef CARDBUS /*HB*/
- outl(0x12, ioaddr + MIICfg);
-#endif /*HB*/
+ outl(dev->if_port == 1 ? 0x13 : 0x12, ioaddr + MIICfg);

Could you try 2.4.6 with just this modification: ?

--- linux-2.4.6.orig/drivers/net/epic100.c Wed Jul 4 14:42:13 2001
+++ linux-2.4.6/drivers/net/epic100.c Fri Jul 6 13:34:17 2001
@@ -681,7 +681,9 @@
required by the details of which bits are reset and the transceiver
wiring on the Ositech CardBus card.
*/
+#ifdef 0
outl(dev->if_port == 1 ? 0x13 : 0x12, ioaddr + MIICfg);
+#endif
if (ep->chip_flags & MII_PWRDWN)
outl((inl(ioaddr + NVCTL) & ~0x003C) | 0x4800, ioaddr + NVCTL);

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

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