Subject: Re: Jornada 680e PCMCIA CF USB Host
To: None <port-hpcsh@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: port-hpcsh
Date: 01/13/2006 13:44:14
On Fri, Jan 13, 2006 at 08:59:12 +0000, Spooky wrote:

> >>>I am guessing that this device is slhci. If it is so, slhci* at pcmcia?
> >>>is necessary.
> >
> >Right, see "is necessary" :).
> 
> Sorry, that looked like a kernel configuration line to me... In
> which case will it not have the problem as 'ohci* at pcmcia?' if
> slhci_pcmcia or equivilent isn't present?

Right.  Sorry I was terse.  I know that by slhci* at pcmcia?
Takashi-san meant the attachment code that would go into
sys/dev/pcmcia/slhci_pcmcia.c, not just the config line itself.

Because of the way netbsd source tree is conventionally laid out, the
location of the bus glue code is most of the time easily inferable
from the config line, so people often use config line like syntax to
refer to the glue code.


> I'm currently looking into how the PCMCIA interface works for other
> devices, hopefully next week I'll get a chance to dismantle
> ohci_cardbus.c and try and bodge something together.

As Takashi-san said, his guess is that the device is actually slhci,
not ohci.  Without knowing any details on the hardware, I think that's
a good guess, b/c pcmcia is 16-bit isa-like bus, and cardbus is 32-bit
pci-like bus.  The only usb at isa driver in the tree is provided by
slhci* at isa? so take a look at:

sys/dev/ic/sl811hs.c	- chip driver proper
sys/dev/isa/slhci_isa.c	- ISA bus glue

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen