Re: Identifying the xHCI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Nov 2009, Ramya Desai wrote:

> Dear Experts,
> 
> How can my class driver (UASP) knows that the underlying HCD is xHCI.
> I wanted to know this because, I have to communicate differently with
> xHCI driver than with eHCI.

I don't think there is any way to tell what the underlying HCD is.

But you are asking the wrong question.  You don't really care which HCD 
is being used.  What you really want to know is the device's speed.  
You can check that easily enough:

	if (udev->speed == USB_SPEED_SUPER) ...

After all, if the device is running at full speed then it doesn't
matter whether the host controller is UHCI, EHCI, or xHCI.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux