| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
error address on a decoding error to unlatch it and to allow
us to print a better diagnostics message. This also has the
side effect of clearing the condition, which prevents an
interrupt storm.
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
| |
- Remove some dead code.
- Fixed one instance of missing endian conversion.
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
it internally contain nested includes.
Reviewed by: bde
|
|
|
|
|
| |
registering a filter handler rather than a threaded handler. Also remove
a bogus use of INTR_MPSAFE for a filter.
|
| |
|
|
|
|
|
|
|
|
| |
(wrong unit number for a host controller) when the module is load /
unloaded repeatly. Attaching the USB pf is moved to usbus device's
attach.
Pointed by: yongari
|
|
|
|
|
|
|
| |
take all benefits whenever BPF code is improved.
Pointed by: jkim
Reviewed by: thompsa
|
|
|
|
|
|
|
|
|
| |
packets which go through each USB host controllers. Its implementations
are almost based on BPF code and very similar with it except it's
little bit customized for USB packet only. The userland program
usbdump(8) would be committed soon.
Discussed with: hps, thompsa, yongari
|
|
|
|
|
|
|
| |
within the first 4 bytes of the EHCI memory space. For controllers that
use big-endian MMIO, reading them with 1- and 2-byte reads would then
return the wrong values. Instead, read the combined register with a 4-byte
read and mask out the interesting quantities.
|
|
|
|
|
|
| |
Define reserved EHCI register.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
|
|
| |
proper solution which is to not use the TERMINATE pointer, but rather
link to a halted TD. The initial fix was due to a misunderstanding
about how the EHCI hardware works. Thanks to Alan Stern for clearing
this up. This patch can increase mass storage read performance
significantly when the IRQ rate is less than 8000 IRQ/s.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
| |
errors from the applications. Only use endless retransmission while in the
non-addressed state on a High-Speed device.
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
| |
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Remove an unused structure.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mode in the USB core. The patch mostly consists of updating the USB
HUB code to support USB 3.0 HUBs. This patch also add some more USB
controller methods to support more active-alike USB controllers like
the XHCI which needs to be informed about various device state events.
USB 3.0 HUBs are not tested yet, due to lack of hardware, but are
believed to work.
After this update the initial device descriptor is only read twice
when we know that the bMaxPacketSize is too small for a single packet
transfer of this descriptor.
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
Add some more comments.
Approved by: thompsa (mentor)
|
|
|
|
|
|
| |
attach failures during boot. Fix this.
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
scratch. This driver adds support for USB3.0 devices. The XHCI
interface is also backwards compatible to USB2.0 and USB1.0 and will
evntually replace the OHCI/UHCI and EHCI drivers.
There will be follow-up commits during the coming week to link the
driver into the default kernel build and add missing USB3.0
functionality in the USB core. Currently only the driver files are
committed.
Approved by: thompsa (mentor)
|