USB: EHCI: log a warning if ehci-hcd is not loaded first
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 2 Oct 2008 15:48:13 +0000 (11:48 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:41:03 +0000 (14:41 -0700)
commit9beeee6584b9aa4f9192055512411484a2a624df
tree6eec55264d86791a1d4f61bdb9158cf9c720f7ce
parent2b70f07343389cb474235def00b021a645ede916
USB: EHCI: log a warning if ehci-hcd is not loaded first

This patch (as1139) adds a warning to the system log whenever ehci-hcd
is loaded after ohci-hcd or uhci-hcd.  Nowadays most distributions are
pretty good about not doing this; maybe the warning will help convince
anyone still doing it wrong.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org> [2.6.27]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c
drivers/usb/core/hcd.h
drivers/usb/host/ehci-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/uhci-hcd.c