Re: [PATCH] usb/core: skip unnecessary line IRQ request for USB3

From: Alex Shi
Date: Thu Mar 15 2012 - 10:39:41 EST



>
> This is not a good idea. What happens if some USB-3 controller
> (perhaps a non-xHCI USB-3 controller) doesn't use MSI?
>


current usb3 driver just xhci. but sure it need to modify if non-xhci
usb pops up.

> The right way to avoid registering a legacy interrupt handler is to
> call usb_add_hcd() with irqnum equal to 0.


a good trick! will try it tomorrow.

>
> Alan Stern
>




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