aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/xhci_pci.c
Commit message (Collapse)AuthorAgeFilesLines
* Add random Intel Elkhart Lake device IDs.Dmitry Luhtionov2025-09-081-0/+2
|
* xhci pci: Add some amd xhci controller device idsTom Jones2025-07-141-0/+7
| | | | | | Reviewed by: aokblast Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D51259
* usb: Kill left-over cdefs.h includesWarner Losh2025-03-041-1/+0
| | | | | | | | | These includes were for __FBSD_RCSID() macro. They weren't formatted like the rest of the tree so weren't trimmed automatically when that script was run. Trim them now. MFC After: 1 week Sponsored by: Netflix
* Use bus_generic_detach instead of device_delete_children in detachJohn Baldwin2025-01-021-1/+4
| | | | | | | While here, check for errors from bus_generic_detach and move it to the start of detach if necessary. Differential Revision: https://reviews.freebsd.org/D47969
* newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANYWarner Losh2024-07-251-1/+1
| | | | Sponsored by: Netflix
* Add some AMD device IDs.Dmitry Luhtionov2024-06-071-0/+3
|
* sys: Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* xhci(4): Describe AMD 400 Series USB 3.1 controllersMarius Strobl2023-07-231-1/+3
| | | | | | | While at it, correct the string for 300 series ones, these also are already xHCI 3.1. Fixes: d171d2f2 Add AHCI/XHCI device IDs found on AMD Ryzen+B350 system
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* xhci(4): Describe Fresco Logic FL1009 USB 3.0 controllerZhenlei Huang2023-03-201-0/+2
| | | | | | Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D38922
* xhci(4): Correct PCI device IDs for Zhaoxin USB 3.0 controllersZhenlei Huang2023-03-171-10/+10
| | | | | | | | | And minor style fixes. Reviewed by: hselasky Tested by: Weitao Wang <WeitaoWang-oc@zhaoxin.com> Fixes: 0d7064d58f89 xhci(4): Add new USB IDs Differential Revision: https://reviews.freebsd.org/D38921
* xhci(4): Add new USB IDs.Dmitry Luhtionov2023-01-171-0/+11
| | | | | MFC after: 1 week Sponsored by: NVIDIA Networking
* xhci(4): Don't allocate an IRQ vector if hw.usb.xhci.use_polling=1 is set.Hans Petter Selasky2022-10-201-1/+1
| | | | | | | This is useful for debugging purposes. MFC after: 1 week Sponsored by: NVIDIA Networking
* Add random VMware device IDs.Alexander Motin2022-10-201-0/+8
| | | | | | Just to make dmesg look nicer there. MFC after: 1 week
* usb: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-061-3/+1
|
* xhci(4): Add quirk for "Fresco Logic FL1009 USB3.0 xHCI Controller".Hans Petter Selasky2022-03-161-0/+1
| | | | | | Submitted by: John F Carr <jfc@mit.edu> MFC after: 1 week Sponsored by: NVIDIA Networking
* xhci(4): Add quirk for "TUSB73x0 USB3.0 xHCI Controller".Hans Petter Selasky2022-03-031-1/+6
| | | | | | Tested by: br@ MFC after: 1 week Sponsored by: NVIDIA Networking
* Add more USB host controller PCI ID's.Hans Petter Selasky2022-02-071-0/+2
| | | | | | Submitted by: Gary Jennejohn <gljennjohn@gmail.com> MFC after: 1 week Sponsored by: NVIDIA Networking
* usb(4): Belatedly add a PCI device ID for AMD Bolton chipsetJung-uk Kim2022-02-071-1/+1
|
* Add new USB host controller PCI ID's.Hans Petter Selasky2022-02-061-1/+20
| | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week Sponsored by: NVIDIA Networking
* xhci: add PCI IDs for USB controllers found on Supermicro M12SWA-TFGleb Smirnoff2021-12-031-0/+9
|
* xhci: Add PCI IDs for Thunderbolt 3/4 USB controllers.Alexander Motin2021-11-291-0/+12
| | | | MFC after: 2 weeks
* xhci: Add PCI IDs from recent Intel CPUs.Alexander Motin2021-11-271-0/+16
| | | | MFC after: 2 weeks
* Add some of Intel Alder Lake device IDs.Alexander Motin2021-11-061-0/+2
| | | | MFC after: 1 week
* Add new PCI ID for XHCI(4).Hans Petter Selasky2021-01-071-0/+2
| | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies // NVIDIA Networking
* xhci: Handle the case when MSI-X BAR is the same as IO BAR.Konstantin Belousov2020-10-231-13/+21
| | | | | | | | | | | | | | | | | | | PCIe allows for MSI-X BAR to be either dedicated, or MSI-X Table may be co-located in some functional BAR. In the later case xhci(4) is unable to allocate active resource for the table because BAR is already activated. Handle it by checking for this special case, and not try to alloc resource if MSI-X BAR is IO. Reported and tested by: emaste Reviewed by: emaste, hselasky Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D26913 Notes: svn path=/head/; revision=366978
* Handle Raspberry Pi 4 xhci firmware loading.Andrew Turner2020-08-031-8/+4
| | | | | | | | | | | | | The newer hardware revisions of the Raspberry Pi 4 removed the ability of the VIA VL805 xhci controller to load its own firmware. Instead the firmware must be installed at the appropriate time by the VideoCore coprocessor. Submitted by: Robert Crowston <crowston_protonmail.com> Differential Revision: https://reviews.freebsd.org/D25261 Notes: svn path=/head/; revision=363795
* Add USB host controller PCI ID's for Hygon.Hans Petter Selasky2020-02-101-0/+3
| | | | | | | | | Differential Revision: https://reviews.freebsd.org/D23564 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=357726
* Correct PCI device ID for XHCI USB controller.Hans Petter Selasky2019-08-071-1/+1
| | | | | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=350675
* Add new USB PCI ID.Hans Petter Selasky2019-03-281-0/+2
| | | | | | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=345633
* Add PCI IDs for AMD X370 AHCI and XHCI.Mark Johnston2018-07-121-1/+2
| | | | | | | | | Submitted by: Greg V <greg@unrelenting.technology> MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15398 Notes: svn path=/head/; revision=336225
* Describe Fresco Logic FL1100 USB 3.0 controllers.Marius Strobl2018-05-281-0/+2
| | | | Notes: svn path=/head/; revision=334293
* Improve fix in r304629 by allowing configuration of the behaviourHans Petter Selasky2018-04-301-0/+1
| | | | | | | | | | | | | through a SYSCTL instead of a compile time define. Add quirk by default for all LynxPoint XHCI controllers. PR: 227602 MFC after: 3 days Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=333100
* Add AHCI/XHCI device IDs found on AMD 1950X+X399 systemConrad Meyer2017-12-291-0/+2
| | | | | | | | | A follow-up to r327094. Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=327364
* Add AHCI/XHCI device IDs found on AMD Ryzen+B350 system.Alexander Motin2017-12-221-0/+4
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=327094
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Add new Intel Lewisburg and Union Point chipset PCI IDs.Alexander Motin2017-08-091-0/+4
| | | | | | | | | While there, polish some old AHCI ones, since they are still reused. MFC after: 1 week Notes: svn path=/head/; revision=322308
* Add some device IDs for Intel Denverton SoCs.Alexander Motin2017-06-211-0/+2
| | | | Notes: svn path=/head/; revision=320178
* Describe Intel Apollo Lake and Braswell USB 3.0 controllers.Marius Strobl2017-05-141-0/+4
| | | | Notes: svn path=/head/; revision=318276
* Add ID for NEC uPD720202 xHCI controller.Bruce M Simpson2017-02-271-0/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=314345
* Fix problem with suspend and resume when using Skylake chipsets. MakeHans Petter Selasky2017-01-191-0/+1
| | | | | | | | | | | | | | sure the XHCI controller is reset after halting it. The problem is clearly a BIOS bug as the suspend and resume is failing without loading the XHCI driver. The same happens when using Linux and the XHCI driver is not loaded. Submitted by: Yanko Yankulov <yanko.yankulov@gmail.com> PR: 216261 MFC after: 1 week Notes: svn path=/head/; revision=312424
* Add some device IDs found in my new laptop.Alexander Motin2016-11-091-0/+2
| | | | Notes: svn path=/head/; revision=308464
* Fix device delete child function.Hans Petter Selasky2016-10-171-6/+0
| | | | | | | | | | | | | | | | | | | | | | | When detaching device trees parent devices must be detached prior to detaching its children. This is because parent devices can have pointers to the child devices in their softcs which are not invalidated by device_delete_child(). This can cause use after free issues and panic(). Device drivers implementing trees, must ensure its detach function detaches or deletes all its children before returning. While at it remove now redundant device_detach() calls before device_delete_child() and device_delete_children(), mostly in the USB controller drivers. Tested by: Jan Henrik Sylvester <me@janh.de> Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D8070 MFC after: 2 weeks Notes: svn path=/head/; revision=307518
* Add some device IDs from Intel Sunrise Point chipsets.Alexander Motin2016-05-031-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=298983
* Add some device IDs found on AMD FCH shipsets.Alexander Motin2016-03-291-0/+3
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=297387
* Add IDs for Intel Wellsburg USB controllers.Alexander Motin2016-03-191-0/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=297049
* Ads support to the xhci pci attachment to use MSI-X interrupts whenAndrew Turner2015-12-241-2/+29
| | | | | | | | | | | | | | | | | available. As with MSI interrupts these can be disabled by setting hw.usb.xhci.msix to 0 in the loader. MSI-X interrupts are needed on some hardware, for example the Cavium ThunderX only supports them, and with this we don't fall back to polling. PR: 204378 Reviewed by: hselasky, jhb MFC after: 1 week (after r292669) Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D4698 Notes: svn path=/head/; revision=292683
* Add quirk for USB 3.0 PCI device.Hans Petter Selasky2015-10-191-0/+3
| | | | | | | | | Submitted by: philipp.maechler@mamo.li PR: 203650 MFC after: 1 week Notes: svn path=/head/; revision=289560
* Add support for Fresco Logic USB 3.0 host controller.Kevin Lo2015-10-081-6/+11
| | | | | | | | | | Fresco Logic hosts advertise MSI, but fail to actually generate MSI interrupts. We have to disable MSI use. Reviewed by: hselasky Notes: svn path=/head/; revision=289030
* Add quirk for USB 3.0 PCI device.Hans Petter Selasky2015-10-081-0/+1
| | | | | | | | Submitted by: Gary Jennejohn <gj@freebsd.org> MFC after: 1 week Notes: svn path=/head/; revision=289029