On Wednesday 23 January 2008, Chuck Ebbert wrote:
> Make the EHCI host driver respect the "nousb" kernel option.
>
> Signed-off-by: Chuck Ebbert <cebbert@xxxxxxxxxx>
You know, given my druthers we'd have the HCD registration
check this, rather than updating every HCD's setup logic...
Care to try a maximally generic fix instead? :)
- Dave
> ---
> drivers/usb/host/ehci-hcd.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> --- linux-2.6.23.noarch.orig/drivers/usb/host/ehci-hcd.c
> +++ linux-2.6.23.noarch/drivers/usb/host/ehci-hcd.c
> @@ -973,6 +973,9 @@ static int __init ehci_hcd_init(void)
> {
> int retval = 0;
>
> + if (usb_disabled())
> + return -ENODEV;
> +
> pr_debug("%s: block sizes: qh %Zd qtd %Zd itd %Zd sitd %Zd\n",
> hcd_name,
> sizeof(struct ehci_qh), sizeof(struct ehci_qtd),
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
[Home]
[Video for Linux]
[Photo]
[Yosemite Forum]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[Free Dating]