| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
| |
There is an issue with interrupts at the moment, but it works with
polling mode set (hw.usb.xhci.use_polling=1).
Reviewed by: hselasky
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3665
Notes:
svn path=/head/; revision=287825
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
xhci_start_controller() to xhci_init(). These values don't change at run-
time so there's no point of acquiring them on every USB_HW_POWER_RESUME
instead of only once during initialization. In r276717, reading the first
couple of registers in question already had been moved as a prerequisite
for the changes in that revision.
- Identify ASMedia ASM1042A controllers.
- Use NULL instead of 0 for pointers.
MFC after: 3 days
Notes:
svn path=/head/; revision=285914
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
'BUS_PROBE_DEFAULT'. This allows bhyve's 'ppt' driver to claim ownership
of the device and pass it through to the guest.
In the common case where there are no competing drivers for USB controllers
this change is a no-op.
Reviewed by: hselasky
MFC after: 2 weeks
Notes:
svn path=/head/; revision=281499
|
| |
|
|
|
|
|
|
| |
MFC after: 3 days
Submitted by: Gary Jennejohn <gljennjohn@gmail.com>
Notes:
svn path=/head/; revision=279563
|
| |
|
|
|
|
|
|
| |
Requested by: Gary Jennejohn <gljennjohn@gmail.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=279544
|
| |
|
|
|
|
|
|
|
|
| |
- Fix some comments and whitespace while at it.
MFC after: 1 month
Submitted by: marius@
Notes:
svn path=/head/; revision=276717
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Simplify MSI allocation to what is actually needed for a single one.
- Release the MSI and the corresponding bus resource as appropriate when
either the interrupt resource cannot be allocated or setting up the
interrupt fails.
- Error out when interrupt allocation or setup fails and polling is
disabled.
- Release the MSI after the corresponding bus resource so the former is
not leaked on detach.
- Remove a redundant softc member.
MFC after: 3 days
Notes:
svn path=/head/; revision=276321
|
| |
|
|
|
|
|
|
| |
PR: 195793
MFC after: 1 week
Notes:
svn path=/head/; revision=275624
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=275101
|
| |
|
|
|
|
|
|
| |
Tested on the BayTrail E3845 platform.
Reviewed by: hselasky
Notes:
svn path=/head/; revision=273376
|
| |
|
|
|
|
|
|
|
|
|
|
| |
USB 2.0 port mask in addition to the USB 3.0 port mask. The hardware
does not always accept when writing -1U to the port switching
registers.
MFC after: 3 days
Tested by: Huang Wen Hui <huanghwh@gmail.com>
Notes:
svn path=/head/; revision=268735
|
| |
|
|
|
|
|
|
|
|
| |
the port routing bits like done in Linux.
MFC after: 1 week
Tested by: Tur-Wei Chan <twchan@singnet.com.sg>
Notes:
svn path=/head/; revision=268354
|
| |
|
|
|
|
|
|
|
|
| |
LynxPoint USB 3.0 controllers found in MacBookPro 2013's.
MFC after: 2 days
Tested by: Huang Wen Hui <huanghwh@gmail.com>
Notes:
svn path=/head/; revision=265015
|
| |
|
|
|
|
|
|
|
| |
PR: usb/186811
MFC after: 1 week
Submitted by: Philipp Maechler <philipp.maechler@mamo.li>
Notes:
svn path=/head/; revision=261981
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
routing if we get certain errors. Poll for command completion upon
command timeouts. The XHCI error events might not generate interrupts.
MFC after: 1 week
Reported by: Daniel Gerzo <danger@rulez.sk>, Antonis Anastasiadis <anastasiadis@datalive.gr>
PR: usb/181159
Approved by: re (gjb)
Notes:
svn path=/head/; revision=255768
|
| |
|
|
|
|
|
|
|
| |
Requested and tested by: delphij
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Notes:
svn path=/head/; revision=253398
|
| |
|
|
|
|
|
|
|
|
| |
Reviewed by: jhb
Tested by: dchagin
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Notes:
svn path=/head/; revision=253094
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
the regular interrupt handler is not working properly or
in case of MSI interrupts which are not yet supported.
Remove interrupt setup code for FreeBSD versions older
than 700031.
MFC after: 1 week
PR: usb/179342
Notes:
svn path=/head/; revision=251499
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=249336
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=239617
|
| |
|
|
|
|
|
|
|
| |
capability and reroute USB 2.0 ports to the xHCI controller.
Reviewed by: hselasky
Notes:
svn path=/head/; revision=238551
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=238015
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=228483
|
| |
|
|
|
|
|
|
| |
Suggested by: jhb @ and marius @
MFC after: 1 week
Notes:
svn path=/head/; revision=227849
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=227843
|
| |
|
|
|
|
|
|
|
|
| |
to <dev/pci/pcireg.h>.
Reviewed by: hselasky
MFC after: 3 days
Notes:
svn path=/head/; revision=222018
|
| |
|
|
|
|
|
|
|
| |
it internally contain nested includes.
Reviewed by: bde
Notes:
svn path=/head/; revision=217265
|
|
|
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)
Notes:
svn path=/head/; revision=213379
|