Re: Problem with SMC Etherpower II + kernel newer 2.4.2

Francois Romieu (romieu@cogenit.fr)
Fri, 6 Jul 2001 13:44:21 +0200


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/