| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move scratch data from the USB bus structure to the USB device
structure so that simultaneous access cannot happen. Protect scratch
area using the enumeration lock.
- Reduce stack usage in usbd_transfer_setup() by moving some big stack
members to the scratch area. This saves around 200 bytes of stack.
- Fix a whitespace.
- Protect control requests using the USB device enumeration lock.
- Make sure all callers of usbd_enum_lock() check the return value.
- Remove the control transfer specific lock.
- Bump the FreeBSD version number, hence external USB modules may need
to be recompiled due to a USB device structure change.
Notes:
svn path=/stable/9/; revision=247090
|
| |
|
|
|
|
|
|
| |
Fix compiler warnings, mostly signed issues,
when USB modules are compiled with WARNS=9.
Notes:
svn path=/stable/9/; revision=235000
|
| |
|
|
|
|
|
| |
Correct some bInterval USB template descriptor values.
Notes:
svn path=/stable/9/; revision=229103
|
| |
|
|
|
|
|
|
| |
Style change.
Use memxxx() functions instead of bxxx() functions.
Notes:
svn path=/stable/9/; revision=229080
|
| |
|
|
|
|
|
| |
MFC after: 7 days
Notes:
svn path=/head/; revision=223472
|
| |
|
|
|
|
|
|
|
|
| |
- Add basic template support for USB 3.0
- Export definition of template sysctl numbers through usb_ioctl.h
MFC after: 7 days
Notes:
svn path=/head/; revision=223467
|
| |
|
|
|
|
|
|
|
|
|
| |
- use device_printf() instead of printf() to give more accurate warnings.
- use memcpy() instead of bcopy().
- add missing #if's for non-FreeBSD compilation.
Approved by: thompsa (mentor)
Notes:
svn path=/head/; revision=218475
|
| |
|
|
|
|
|
|
|
| |
it internally contain nested includes.
Reviewed by: bde
Notes:
svn path=/head/; revision=217265
|
| |
|
|
|
|
|
|
|
| |
default.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=205033
|
| |
|
|
|
|
|
|
|
|
|
|
| |
other modules can generate USB descriptors.
- extend the vendor specific request function by one length pointer argument,
because not all descriptors store the length in the first byte. For example
HID descriptors.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=205030
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=199816
|
| |
|
|
|
|
|
| |
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
Notes:
svn path=/head/; revision=194677
|
| |
|
|
| |
Notes:
svn path=/head/; revision=194228
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193045
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192984
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192500
|
| |
|
|
|
|
|
|
|
|
| |
Change the roothub exec functions to take the usb request and data pointers
directly rather than placing them on the parent bus struct.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=191402
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Move tunable defines into usb_core.h and dependancy towards usb_defs.h
- Leave hardcoded defines in "usb_defs.h".
- Allow overriding all tunable defines.
- Add more customisable typedefs.
- Correct maximum device number.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190174
|
| |
|
|
|
|
|
| |
Approved by: thompsa
Notes:
svn path=/head/; revision=189002
|
|
|
Notes:
svn path=/head/; revision=188942
|