Re: Problem with SMC Etherpower II + kernel newer 2.4.2

Francois Romieu
2001-07-06T11:44:40Z

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