| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Approved by: re (implicit)
This commit was manufactured to restore the state of the 8.3-RELEASE image.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Implement better support for USB controller suspend and resume.
- Add code to wait for USB shutdown to be executed at system shutdown.
- Add sysctl which can be used to skip this waiting.
NOTE: All USB controller drivers needs to be re-compiled after
this change due to changes in some USB controller only structures.
Notes:
svn path=/stable/8/; revision=229370
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Style change.
- Make it easier to port the USB code to other platforms by only using
one set of memory functions for clearing and copying memory. None of
the memory copies are overlapping. This means using bcopy() is not
required.
- Fix a compile warning when USB_HAVE_BUSDMA=0
- Add missing semicolon in avr32dci.
- Update some comments.
Notes:
svn path=/stable/8/; revision=228229
|
| |
|
|
|
|
|
|
|
|
| |
Remove unneeded includes of <sys/linker_set.h>. Other headers that use
it internally contain nested includes.
Requested by: hselasky
Notes:
svn path=/stable/8/; revision=221125
|
| |
|
|
|
|
|
|
|
| |
Change argument for usbd_get_dma_delay() from USB bus to USB device, some
embedded hardware needs to know exactly which device is in question before it
exactly can decide the required delay.
Notes:
svn path=/stable/8/; revision=215500
|
| |
|
|
|
|
|
|
| |
Add support for LOW speed BULK transfers. This mode is not recommended by the
USB 2.0 standard, though some USB devices use it anyway.
Notes:
svn path=/stable/8/; revision=215482
|
| |
|
|
|
|
|
| |
Remove unused uhci_dump_qhs().
Notes:
svn path=/stable/8/; revision=207633
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/stable/8/; revision=207399
|
| |
|
|
|
|
|
|
|
| |
Provide tunables for some of the usb sysctls that affect boot behaviour.
Submitted by: Andriy Gapon
Notes:
svn path=/stable/8/; revision=200330
|
| |
|
|
|
|
|
|
|
|
| |
Workaround buggy BIOS code in USB regard. By doing the BIOS to OS handover for
all host controllers at the same time, we avoid problems where the BIOS will
actually write to the USB registers of all the USB host controllers every time
we handover one of them, and consequently reset the OS programmed values.
Notes:
svn path=/stable/8/; revision=198659
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add minimum polling support to drive UMASS
and UKBD in case of panic.
- Add extra check to ukbd probe to fix problem about
mouse devices attaching like keyboards.
- P4 ID: 166148
Submitted by: hps
Approved by: re
Notes:
svn path=/head/; revision=195960
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
usb_pipe may be used for a different purpose later on.
Notes:
svn path=/head/; revision=193644
|
| |
|
|
| |
Notes:
svn path=/head/; revision=193045
|
| |
|
|
| |
Notes:
svn path=/head/; revision=192984
|
| |
|
|
|
|
|
| |
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=192502
|
| |
|
|
|
|
|
|
|
| |
- change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
Notes:
svn path=/head/; revision=192499
|
| |
|
|
|
|
|
|
|
|
| |
schedule, in case the hardware clears the frame list base address.
Submitted by: Hans Petter Selasky
Reported by: Chao Shin
Notes:
svn path=/head/; revision=191826
|
| |
|
|
|
|
|
|
|
|
|
| |
to be set via two variables (peer_suspended and self_suspended) and can not be
merged into one.
Submitted by: Hans Petter Selasky
Pointy hat: me
Notes:
svn path=/head/; revision=191824
|
| |
|
|
|
|
|
|
|
|
|
|
| |
helps
to avoid touching the device when it is not going to respond and would otherwise
timeout.
Implement the suspend tracking as a udev state too.
Notes:
svn path=/head/; revision=191494
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=190755
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Refactor how we interface with the root HUB. This is achieved by making a
direct call from usb2_do_request to the host controller for root hub requests,
this call will perform the controller specific register read/writes and return
the error code.
This cuts out a lot of code in the host controller files and saves one thread
per USB bus.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190754
|
| |
|
|
|
|
|
|
|
|
| |
Some cancelable flags are always true. Substitute these away. These cancelable
flags were mostly useful with the root HUB which is now handled differently.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190738
|
| |
|
|
|
|
|
|
|
|
| |
Refactor how we interface with the root HUB. This cuts around 1200 lines of
code totally and saves one thread per USB bus.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190735
|
| |
|
|
|
|
|
|
|
|
|
| |
Workaround for buggy USB hardware not handling new SETUP packet before STATUS
stage is complete, this allows xfers to endpoint0 to return a short frame.
Submitted by: Hans Petter Selasky
Reported by: me
Notes:
svn path=/head/; revision=190183
|
| |
|
|
|
|
|
|
|
|
| |
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=190181
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
| |
Clean up old way of polling the USB hardware. The existing polling support was
a bit hackish.
Submitted by: Hans Petter Selasky
Notes:
svn path=/head/; revision=188983
|
|
|
Notes:
svn path=/head/; revision=188942
|