adaptec ana6911a/tx dec 21142 woes

Matthias Ohlenroth Matthias.Ohlenroth@tbzpariv.tcc-chemnitz.de
Mon Jul 20 14:29:22 1998


Julian Highfield wrote:

> Olaf Schnapauff (c0033014@rznb33.rz.tu-bs.de) wrote:
> > trying to replace t21142_timer with tulip_timer as suggested on the
> > mailinglist AND passing options=11 to the driver makes it work (just
> > getting a few "too much work at interrupt"), using 0.89h
>
> Me too :-) I had to hack some of the CSR15 stuff as well as make the
> t21142_timer/tulip_timer change before I could get any life out of
> my ANA6911A/TXC.
>
> I am currently trying to figure out why the t21142_timer routine
> fails, using the tulip data sheets and a lot of printk statements.
> Any suggestions welcome... particularly as I haven't hacked network
> device drivers before :-)
>

The t21142_timer routine ignores the TULIP_NO_MEDIA_SWITCH option and
happily
switches between interfaces. However I could transfer up to three packets
out of the
10base2 port before this switching happens.
I disabled the switching code with someting like if (!tp->medialock)...
This seems to work
except some hickups.

Another workaround might be to replace this version with a driver 0.76
comming with
erlier kernels (2.0.30??). I use this with an actual 2.0.34 kernel. But
you have to use the
option command to select the correct interface.

Matthias