Re: 8139too in 2.6.x tx timeout

Zinx Verituse
2004-07-06T17:25:58Z

On Wed, Jul 07, 2004 at 12:29:26AM +0900, OGAWA Hirofumi wrote:
> Zinx Verituse <zinx@epicsol.org> writes:
>
> > I have now discovered what causes the card to work on knoppix --
> > The probe during the loading of the OSS "cs46xx.o" driver. This driver
> > doesn't work with my sound card (non-AC97 codec), and does not finish
> > loading, but apparently it does some magic that causes the rtl8139C NIC
> > I have to work :x
>
> Oh, cs46xx.o seems to have a workaround or something for ThinkPad.
> The cs46xx.o calling the "clkrun_hack(card, 1)" before initialize.
> --
> OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

Thanks! This was it. I have no idea where this hack belongs in the
kernel (or even if it does), so I've just made a quick&dirty userland
program to do it. Maybe it'll be useful to others:
http://zinx.xmms.org/misc/tmp/8139too/thinkpad_clkrun_hack.c

--
Zinx Verituse http://zinx.xmms.org/