Hans Petter Selasky
d46dc4ad74
This patch adds automatic detection of USB mass storage devices
...
which does not support the no synchronize cache SCSI command.
The __FreeBSD_version version macro has been bumped and
external kernel modules needs to be recompiled after
this patch.
Approved by: re (kib)
MFC after: 1 week
PR: usb/160299
2011-09-02 18:50:44 +00:00
Hans Petter Selasky
9eb0d7025d
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
2011-06-06 21:45:09 +00:00
Hans Petter Selasky
99f017d21b
Add more sanity checks for USB_HOST_ALIGN input values. Re-factor existing
...
checks for readability.
Approved by: thompsa (mentor)
2011-01-24 17:38:37 +00:00
Hans Petter Selasky
d8d1becfdd
Allow USB_HOST_ALIGN to be configured at compile time. This patch is
...
necessary for MIPS based RouterStation Pro board and maybe other MIPS
based boards as well.
Submitted by: Milan Obuch
Approved by: thompsa (mentor)
2011-01-22 13:52:23 +00:00
Hans Petter Selasky
8be0933446
Make USB packet filtering code optional.
...
Approved by: thompsa (mentor)
2011-01-18 21:18:51 +00:00
Hans Petter Selasky
8bb77249db
Add possibility to generate devctl notifications regardless of UGEN presence.
...
Submitted by: Nick Hibma
Approved by: thompsa (mentor)
2010-10-22 20:13:45 +00:00
Andrew Thompson
b850ecc180
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
Andrew Thompson
ed6d949afd
- 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