Subject: NetBSD / PCMCIA (again)
To: None <port-i386@NetBSD.ORG>
From: Mathias Engan <engan@sm.luth.se>
List: port-i386
Date: 09/22/1995 17:58:04
Hello again, everyone!

I have a IBM TP 755CX2 with a 3Com 3C589B ethercard (PCMCIA).
My problem, up until now has been that the kernel did not
recognize and attach the ether-card. We fixed that, somehow,
we don't really know how :) 
Or, rather, it is too embarassing to mention. We applied the
patches and fiddled with the source code a bit, but I think
the real problem was that there was a serial port at the
same irq as the ethercard, which we didn't know about. Hmm,
this is so embarassing...

Now the kernel finds the 3c589b card. This is good. 

BUT!

When I do "ifconfig ep0 blahblahblah" the 3c589b adapter
dies. The led goes out. Somewhere something goes wrong.
I can do "pcmcia_cntrl 0 unmap" and "pcmcia_cntrl 0 probe"
to get the card active again, but then the status report
from ifconfig reports the the driver as down (ie not "UP").
Of course, I then tried "ifconfig ep0 up", but, of course --
the card dies again. The led goes out.

So, either I have an active ether-adapter with the net down 
or I have the net up, but an inactive adapter. This makes
the adapter kind of useless for network communication, doesn't
it?

So, is there anyone with similar experiences who can help
me out? I suppose that there is a problem with some kind
of signal lines to the adapter that don't get set or reset
correctly. But I don't have a clue as to how the PCMCIA-bus
really works. Nor how the 3c589b adapter works. Apparently
(refering to the reason why we couldn't get it to work in
the first place) I probably don't have a clue about anything.


Any ideas?

/engan