From 5f55faed0601b0486b09dd7ec3727f5312e33d5d Mon Sep 17 00:00:00 2001 From: hselasky Date: Mon, 6 Jun 2011 21:45:09 +0000 Subject: Improve enumeration of Low- and Full-speed devices connected through a High-speed USB HUB by resetting the transaction translator (TT) before trying re-enumeration. Also when clear-stall fails multiple times try a re-enumeration. Suggested by: Trevor Blackwell MFC after: 14 days --- sys/dev/usb/usb_device.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/usb/usb_device.h') diff --git a/sys/dev/usb/usb_device.h b/sys/dev/usb/usb_device.h index c8bc5eb..bf41221 100644 --- a/sys/dev/usb/usb_device.h +++ b/sys/dev/usb/usb_device.h @@ -187,6 +187,8 @@ struct usb_device { struct usb_host_endpoint *linux_endpoint_end; uint16_t devnum; #endif + + uint32_t clear_stall_errors; /* number of clear-stall failures */ }; /* globals */ -- cgit v1.1