aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-sched.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2005-05-31 16:33:21 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 14:44:00 -0700
commite07fefa6b212f43c40fdbc1a62de690d91a4b617 (patch)
tree8426cdb4a4b8c7b9a0ce2cc360beebf9499d9572 /drivers/usb/host/ehci-sched.c
parent486e2df6ce213d0c776befdf3fe5ffc61dd61688 (diff)
[PATCH] USB UHCI: Detect invalid ports
This patch changes the way uhci-hcd detects valid ports. The specification doesn't mention any way to find out how many ports a controller has, so the driver has to use some heuristics, reading the port status and control register and deciding whether the value makes sense. With this patch the driver will recognize a typical failure mode (all bits set to one) for nonexistent ports and won't assume there are always at least 2 ports -- such an assumption seems silly if the heuristics have already shown that the ports don't exist. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
0 files changed, 0 insertions, 0 deletions