| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Submitted by: Nick Hudson
|
|
|
|
|
|
|
| |
Merge register file with external one and put all register
definitions in a separate file.
Submitted by: ray @
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Add missing clock settings.
VBUS GPIO IRQ is still missing (TODO).
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in SUPER-speed mode, USB 3.0.
This feature has not been tested yet, due to lack of hardware.
This feature is useful when implementing protocols like UASP,
USB attached SCSI which promises higher USB mass storage throughput.
This patch also implements support for hardware processing of endpoints
for increased performance. The switching to hardware processing
of an endpoint is done via a callback to the USB controller driver. The
stream feature is implemented like a variant of a hardware USB protocol.
USB controller drivers implementing device mode needs to be updated to
implement the new "xfer_stall" USB controller method and remove the
"xfer" argument from the "set_stall" method.
The API's toward existing USB drivers are preserved. To setup a USB transfer
in stream mode, set the "stream_id" field of the USB config structure to
the desired value.
The maximum number of BULK streams is currently hardcoded and limited to 8
via a define in usb_freebsd.h.
All USB drivers should be re-compiled after this change.
LibUSB will be updated next week to support streams mode. A new IOCTL to
setup BULK streams as already been implemented. The ugen device nodes
currently only supports stream ID zero.
The FreeBSD version has been bumped.
MFC after: 2 weeks
|
|
|
|
| |
specific still and needs some love to make it work on anything else.
|
| |
|
|
|
|
|
|
| |
capability and reroute USB 2.0 ports to the xHCI controller.
Reviewed by: hselasky
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
Obtained from: Freescale, Semihalf.
Written by: Michal Dubiel
|
|
|
|
| |
ATI one.
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
for FULL speed SPLIT transactions works fully.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
This will give you more bandwidth for isochronous
FULL speed applications connected through a
High Speed HUB.
This patch has been tested with XHCI and EHCI.
MFC after: 1 week
|
|
|
|
|
|
| |
when USB modules are compiled with WARNS=9.
MFC after: 1 weeks
|
|
|
|
|
|
|
| |
Fix a compiler warning.
Add missing header file.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
and not asynchronously. This fixes problems related to USB system
suspend and resume. It is assumed that we are always allowed to sleep
from the device_suspend() method.
MFC after: 1 week
Submitted by: jkim
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently the code is not built by any modules. That will
be fixed later. The Atmel ARM bus interface file part of this
commit is just for sake of example. All registers and bits are
declared like macros and not C-structures like in official
Synopsis header files. This driver mostly origins from the
musb_otg.c driver in FreeBSD except that the chip specific
programming has been replaced by the one for DWC 2.0 USB OTG.
Some parts related to system suspend and resume have been left
like empty functions for the future. USB suspend and resume is
fully supported.
|
|
|
|
|
|
|
| |
the route string field. Else USB 3.0 HUBs
won't work.
MFC after: 5 days
|
|
|
|
|
|
|
| |
hence it was overlapping the USB 3.0 root HUB's speed bits.
Reported by: Kohji Okuno
MFC after: 1 week
|
|
|
|
|
|
| |
- Try to fix support for USB 3.0 suspend and resume.
MFC after: 1 week
|
|
|
|
|
|
| |
resume else no devices will appear again.
MFC after: 1 day
|
|
|
|
| |
MFC after: 0 days
|
| |
|
|
|
|
|
| |
Suggested by: avg @
MFC after: 3 days
|
|
|
|
|
|
| |
Add sysctl which can be used to skip this waiting.
MFC after: 3 days
|
|
|
|
|
|
|
| |
doing shutdown, suspend and resume.
Suggested by: avg @
MFC after: 3 days
|
|
|
|
|
| |
Reported by: Kohji Okuno
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
This patch should remove the need for kldunload of USB
controller drivers at suspend and kldload of USB controller
drivers at resume.
This patch also fixes some build issues in avr32dci.c
MFC after: 2 weeks
|
|
|
|
|
| |
Suggested by: jhb @ and marius @
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
one. Interestingly, these are actually the default for quite some time
(bus_generic_driver_added(9) since r52045 and bus_generic_print_child(9)
since r52045) but even recently added device drivers do this unnecessarily.
Discussed with: jhb, marcel
- While at it, use DEVMETHOD_END.
Discussed with: jhb
- Also while at it, use __FBSDID.
|
|
|
|
|
| |
Reported by: Jan Henrik Sylvester
MFC after: 1 week
|
|
|
|
|
| |
Reported by: Jan Henrik Sylvester
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
| |
The SYSCTL_NODE macro defines a list that stores all child-elements of
that node. If there's no SYSCTL_DECL macro anywhere else, there's no
reason why it shouldn't be static.
|
|
|
|
|
|
|
| |
in the generic XHCI driver. There appears to be some minor
logic missing for this feature to work.
MFC after: 3 days
|
|
|
|
|
|
|
| |
to <dev/pci/pcireg.h>.
Reviewed by: hselasky
MFC after: 3 days
|
|
|
|
|
|
| |
Reported by: Mike Tancsa
MFC after: 3 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
bus driver at detach, hence ehci_detach() does exactly this since r199718.
Submitted by: Luiz Otavio O Souza
MFC after: 7 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Submitted by: Luiz Otavio O Souza
MFC after: 7 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Reported by: Luiz Otavio O Souza
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Reported by: Garrett Cooper
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Reported by: gavin
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
value is updated after that we read it in the queue-head. This patch can
fix problems with BULK timeouts. The issue was found on a Nvidia chipset.
MFC after: 14 days
Approved by: thompsa (mentor)
|
|
|
|
|
| |
MFC after: 3 days
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
- 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)
|