Regarding non-PCI based HCD implementation .

monali.katkar at wipro.com monali.katkar at wipro.com
Thu Jan 12 08:18:48 EST 2006



Hello ,

I have a PCMCIA multifunction card with a USB port and a serial port.
The USB controller on the card is OHCI-similar however it has the
following peculiarity -
	  An OHCI interface works by having a set of 32 bit registers in
an IO or memory window, and various data structures 	  in host  RAM .
PCMCIA/CF is too limited an interface for the device to gain access to
host RAM, so, the OHCI data 	  structures actually reside in an 8K
area of RAM in this device.

To support this card  I am referring to a implementation : sl811-hcd.c ,
sl8111_cs.c.Am i referring the correct driver model? Are there any other
alternatives ?

To support the USB function on the PCMCIA card a HCD driver is
written.Since the card provides a PCMCIA host interface we also need to
write the PCMCIA client driver/wrapper for this HCD. The PCMCIA client
driver is responsible for allocating IO space, IRQ and memory windows
that the card requires. It gives this info to the HCD using the
"platform_device" & "resource" structures. Is there more info available
on "Platform Device Drivers" other than the kernel Documentation.

How would the HCD be loaded for USB function ?
The PCMCIA client driver depends on HCD. Due to this dependancy , HCD
will be loaded whenever the cardmgr loads the PCMCIA client driver bound
to the PCMCIA card ( binding specified in /etc/pcmcia/config). Is my
understanding correct?

What role  does PCMCIA client driver play for Power Management
(selective PM management, runtime PM)
How does the driver need to act on CS_EVENT_PM_SUSPEND and RESUME ? Any
pointers to this will help.

Thanks and Regards,
Monali.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com



More information about the linux-pcmcia mailing list