Linksys Cardbus and .90k

Nicholas Jenkins Nicholas.S.Jenkins@cdc.com
Thu Feb 18 15:39:26 1999


WOW!!!!Thanks for the fast response...

My comments are strewn w/in, as yours were...

> -----Original Message-----
> From: Donald Becker [mailto:becker@cesdis1.gsfc.nasa.gov]
> Sent: Thursday, February 18, 1999 3:18 PM
> To: Nicholas Jenkins
> Cc: linux-tulip@beowulf.gsfc.nasa.gov
> Subject: Re: Linksys Cardbus and .90k
>
>
> On Thu, 18 Feb 1999, Nicholas Jenkins wrote:
> > Subject: Linksys Cardbus and .90k
> > Who, if anyone, at this point is working on updates
> > to the .90K version of tulip.c to resolve its issues
> > with the latest linksys card(s)?  Any luck?
>
> I am actively working on the Tulip driver.
> I've been spending about three hours a day over the past week on it, and
> I've sent out various private snapshots to individuals to test.
>
> AFAIK, the current public test release, 90K, should work with both
> versions of the Linksys CardBus card (at the expense of breaking PCI
> 21143-TD/PD boards:-<).

Sorry, don't know what AFAIK means...but I get the point.  However,
it didn't work, except once, but probably due to items discussed below.

>
> [[ My latest snapshot now works with the PNIC-II, but I just borrowed an
> AmbiCom CardBus w/SYM transceiver and an ASIX88140 PCI card last
> night that
> reportedly fail with the current driver.  Just when I thought I was ready
> for a release... ]]
>
> > Notes about current tulip.c:
> > When this failed, I found the other page and downloaded
> > .90K.  This failed for a long time.  At the same time,
> > I was trying to resolve some XFree86 problems.  As it
> > turns out, at home, I'm running 100BT, Full Duplex.
>
> With Autonegotiation?

Yep...At home I have a Linksys 5 port 10/100 N-Way, Auto-Negotiation
hub.  If you need the exact model, I can give you that info.

>
> > At work, I am running 10BT.
>
> Without Autonegotiation e.g. a simple old-technology repeater?

Yep...a simple 24-port 10BT unmanaged hub.  How'd you know?!!!
Seems like you've seen this before, eh?!

>
> >  At home, afer recompiling
> > the kernel 2.2.1 (to resolve my XFree86 problem), I got
> > the network card to work once - although I did also have
> > to do: ifconfig eth0 down; ifconfig eth0 up <--saw this
> > in some of the postings - and it did work.
> ..
> > between the 2 environments, but I believe that based on
> > these experiences, as some others that I have not documented,
> > that any driver prior to .90K is worthless for the Linksys,
>
> It depends on the version.  The older card works fine, as long as
> snooze mode
> is never enabled.
> The new 21143-TD chip has a different EEPROM size and must have burst mode
> disabled to work.

Couple of notes on this...
I thought it interesting that you didn't put in some code like:
#ifdef CARDBUS
#define EEPROM_ADDRLEN 8
#define EEPROM_SIZE 512 	/* 2 << EEPROM_ADDRLEN */
#else
#define EEPROM_ADDRLEN 6
#define EEPROM_SIZE 128 	/* 2 << EEPROM_ADDRLEN */
#endif

I say this, because I have seen many times in the postings, where you note
that the new length should be 8.  Also, I have never seen the posting say
that the EEPROM_SIZE should be increased to 512...but...based on your
source-code notes, it would seem logical?

As for the burst-mode...what's the fix there?  I assume that it's a value in
csr0, but what - 0?  Let me know, and I'll try it, as my notebook is
currently
here at work.
-NICK

P.S. why don't I/the archives see any postings since the 12th?