Subject: Re: The CardBus saga continues...
To: Jonathan Stone <jonathan@DSG.Stanford.EDU>
From: Paul B Dokas <dokas@cs.umn.edu>
List: current-users
Date: 06/03/1999 21:36:49
On Thu, 3 Jun 1999, Jonathan Stone wrote:
> 
> Kewl. if  you can forward the patches to Hayakawa-san, hopefully
> they can get integrated into his patch source.

I'll do that just as soon as I can ifconfig up the interface ;-)  Probably
from the terminal room sometime next week.

> I dont know how to help here.  I thought the 3c575 was supposed to
> attach as an if_ex_cardbus?

So did I.  However, if you look at the README.CardBus file, it specifically
says that the 3C575 is an ep device.  Also, the VENDOR_ID and PRODUCT_IDs
for my card match those in if_ep_cardbus.c

There also appears to be a hack in if_ep_cardbus.c to force the code to
treat the card as a VORTEX card despite the fact that it's a BOOMERANG.

Perhaps the ex device isn't ready yet.  I'll go take a look at that source.

> Well, the  obvious first kludge is to change:
> 
>         if (sc->bustype == ELINK_BUS_PCMCIA) {
> 
> to
>         if (sc->bustype == ELINK_BUS_PCMCIA ||
> 	  sc->bustype == ELINK_BUS_CARDBUS) {
> 
> but thats just a guess.  (Defining ELINK_BUS_CARDBUS with the other
> ELINK_BUS_* constants is probably a good idea.)

D'oh!  I guess that I've been staring at the code too long.  Trying that
just didn't cross my mind.  I'll give it a try.

Paul
--
Paul Dokas                                            dokas@cs.umn.edu
======================================================================
Don Juan Matus:  "an enigma wrapped in mystery wrapped in a tortilla."