hselasky
e7d3a7e303
Always put space before the comma before ##__VA_ARGS__ due to subtle compiler
...
differences.
2013-05-03 10:13:29 +00:00
hselasky
ddc1ceecb3
Make several timing parameters of the USB enumeration sequence tuneable.
...
Also update the port reset time from 250ms to 50ms. Some USB devices
have a hard limit in hardware at 222ms for the port reset time and will
not enumerate unless this delay is closer to the usb.org defined value.
This patch can fix enumeration with some USB devices.
Tested by: Guido van Rooij
Submitted by: Nick Hibma
MFC after: 1 week
2012-10-24 07:23:29 +00:00
thompsa
bd3f3db8dd
Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
...
the illusion of a tunable setting but was always turned on regardless.
MFC after: 1 week
2010-04-22 21:31:34 +00:00
thompsa
6745662f29
Remove overuse of exclamation marks in kernel printfs, there mere fact a
...
message has been printed is enough to get someones attention. Also remove the
line number for DPRINTF/DPRINTFN, it already prints the funtion name and a
unique message.
2009-11-26 00:43:17 +00:00
thompsa
74c6c20b93
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
thompsa
a18827ec0e
Fix _USB2_* refernces in the header protection defines.
2009-06-15 01:09:19 +00:00
thompsa
06303d491a
s/usb2_/usb_|usbd_/ on all function names for the USB stack.
2009-06-15 01:02:43 +00:00
thompsa
2d149b09c5
Rename usb pipes to endpoints as it better represents what they are, and struct
...
usb_pipe may be used for a different purpose later on.
2009-06-07 19:41:11 +00:00
thompsa
af6fb4f3d2
s/usb2_/usb_/ on all C structs for the USB stack.
2009-05-28 17:36:36 +00:00
thompsa
686e9b39cf
Rename the usb sysctl tree from hw.usb2.* back to hw.usb.*.
...
Submitted by: Hans Petter Selasky
2009-05-21 01:48:42 +00:00
thompsa
e14295c787
MFp4 //depot/projects/usb@159392
...
Add ifdefs for making parts of usb conditional.
Submitted by: Hans Petter Selasky
2009-03-20 21:48:11 +00:00
thompsa
111a707d99
Move the new USB stack into its new home.
2009-02-23 18:31:00 +00:00