Hi, All:
If I have a cardbus card that implements a usb hub function, I don’t
konw the driver layer.
-
USB device -> USB hub -> cardbus card -> cardbus slot -> PCI bus
-
USB device -> USB hub -> cardbus slot -> PCI bus
-
USB device -> USB hub -> PCI bus
if 1) is right, how to write “cardbus card driver”?
- is the correct topology.
If your cardbus device is a usb2.0 compliant controller, just conform to the ehci spec and you have to write no drivers. If you want a 1.1 compliant hub, then yes you would have to write your own driver.
As a word of warning, I have worked in the usb stack in the past and emulating usbhub’s behavior is near impossible for 3rd party stacks. There are so many weird and undocumented behaviors and support that you will not be able to get near 100% of the usb client drivers out there working.
d
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@zte.com.cn
Sent: Wednesday, August 11, 2004 1:21 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] A questions about driver stack.
Hi, All:
? If I have a cardbus card that implements a usb hub function, I don’t konw the driver layer.
? 1) USB device -> USB hub -> cardbus card -> cardbus slot -> PCI bus
? 2) USB device -> USB hub -> cardbus slot -> PCI bus
? 3) USB device -> USB hub -> PCI bus
if 1) is right, how to write “cardbus card driver”? — Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256 You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com To unsubscribe send a blank email to xxxxx@lists.osr.com