[811] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: IBM Token Ring problems

daemon@ATHENA.MIT.EDU (Hildo@CONSUL.NL)
Tue Aug 1 12:08:20 1995

From: Hildo@CONSUL.NL
Date: Sun, 30 Jul 1995 21:57 +0100 (MET)
In-reply-to: <199507292201.SAA06241@NETSPACE.ORG>
To: budke@netspace.org
Cc: linux-net@vger.rutgers.edu

 
 
> Well, at work we have 1 card which works with linux.
> We are trying sdesperatly to find cards that are similar but
> we have yet to find one that is not in use.  There are also ARP problems
> with the token ring card/driver.
>
> As far as the success goes.  The one card that does work, has never worked
> with windoze or dos, the others work fine under NT and windows dos.
> If your card has two lights in the back, it isn't supported.
>
Happily, I managed to get the card working.
The trick is, our test ring was faulty :-)
If you have the IBM Auto 16/4 ISA token ring adapter, with the
two lights on the pack, you must patch the driver.
 
In ibmtr.c, around line 280:
  case TR_ISAPNP:
  if (intr==0) irq=9;
  if (intr==1) irq=3;
  if (intr==2) irq=10;
  if (intr==3) irq=11;
  while(!(ti->mmio + ACA_OFFSET + ACA_RW + RRR_EVEN));
  ti->sram=(unsigned char *)((unsigned long)(ti->mmio + ACA_OFFSET
Change the last line into:
  ti->sram = NULL;
 
Then around line 390:
 if (cardpresent==TR_ISA) { /* finish figuring the shared RAM
Change that to:
 if (ti->sram == NULL) { /* finish...
 
This helped for us.  Any specialists know why the assignment
of the shared RAM area fails?
 
Hildo Biersma

home help back first fref pref prev next nref lref last post