History log of /freebsd-current/sys/dev/usb/controller/ohci_pci.c
Revision Date Author Comments
# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# b61a5730 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD

The SPDX folks have obsoleted the BSD-2-Clause-NetBSD 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


# 336fbb23 22-Jun-2022 Elliott Mitchell <ehem+freebsd@m5p.com>

usb: purge EOL release compatibility

Remove conditionsals for FreeBSD 6, 7, 8 and 9 compatibility.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/603
Differential Revision: https://reviews.freebsd.org/D35560


# bc9372d7 06-May-2022 John Baldwin <jhb@FreeBSD.org>

usb: Remove unused devclass arguments to DRIVER_MODULE.


# 5db1ed2f 24-Dec-2020 Marius Strobl <marius@FreeBSD.org>

ohci(4): remove support for Sun PCIO-2 USB controllers

It's no longer used since 58aa35d42975c298ca0adba705c042596303c9f5
and r357455 respectively.


# d82c0ebc 10-Feb-2020 Hans Petter Selasky <hselasky@FreeBSD.org>

Add USB host controller PCI ID's for Hygon.

Differential Revision: https://reviews.freebsd.org/D23564
MFC after: 1 week
Sponsored by: Mellanox Technologies


# 718cf2cc 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/dev: further adoption of SPDX licensing ID tags.

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.


# d3bf5efc 17-Oct-2016 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix device delete child function.

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


# 15e01a35 28-Mar-2016 Alexander Motin <mav@FreeBSD.org>

Add some device IDs found on AMD FCH shipsets.

MFC after: 2 weeks


# b217d184 05-Jan-2015 Hans Petter Selasky <hselasky@FreeBSD.org>

Add 64-bit DMA support in the XHCI controller driver.
- Fix some comments and whitespace while at it.

MFC after: 1 month
Submitted by: marius@


# 4dc34955 24-Nov-2014 Justin Hibbits <jhibbits@FreeBSD.org>

Add Apple Intrepid USB controller ID.

MFC after: 2 weeks


# 3147331e 17-Aug-2013 Hans Petter Selasky <hselasky@FreeBSD.org>

Fix some USB controller names according to pciconf output.

MFC after: 1 week
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>


# d81b160a 21-Apr-2013 Hans Petter Selasky <hselasky@FreeBSD.org>

Add OHCI controller ID.

MFC after: 2 weeks
Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>


# f0d0cee0 02-Jul-2012 Alexander Motin <mav@FreeBSD.org>

Add IDs for some USB controllers I have around. Just a cosmetics.

MFC after: 3 days


# 2e141748 13-Dec-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

Implement better support for USB controller suspend and resume.

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


# 3b12bdb5 22-Nov-2011 Hans Petter Selasky <hselasky@FreeBSD.org>

Rename device_delete_all_children() into device_delete_children().

Suggested by: jhb @ and marius @
MFC after: 1 week


# 4b7ec270 22-Nov-2011 Marius Strobl <marius@FreeBSD.org>

- There's no need to overwrite the default device method with the default
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.


# 58ccf5b4 11-Jan-2011 John Baldwin <jhb@FreeBSD.org>

Remove unneeded includes of <sys/linker_set.h>. Other headers that use
it internally contain nested includes.

Reviewed by: bde


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# 441f5e4c 06-Apr-2010 Andrew Thompson <thompsa@FreeBSD.org>

MFC r205802

Add PCI IDs for two more nForce controllers.

Submitted by: Dmitry Luhtionov @ gmail.com


# 4a4bd31b 28-Mar-2010 Andrew Thompson <thompsa@FreeBSD.org>

Add PCI IDs for two more nForce controllers.

Submitted by: Dmitry Luhtionov @ gmail.com


# 7e4b1c06 03-Mar-2010 Joel Dahl <joel@FreeBSD.org>

The NetBSD Foundation has granted permission to remove clause 3 and 4 from
their software.

Obtained from: NetBSD


# afc2c8ae 30-Dec-2009 Andrew Thompson <thompsa@FreeBSD.org>

MFC r200823

Add more OHCI pci ids.


# 725f67ad 21-Dec-2009 Andrew Thompson <thompsa@FreeBSD.org>

Add more OHCI pci ids.

Submitted by: Hans Petter Selasky


# 1ea6a20c 29-Oct-2009 Andrew Thompson <thompsa@FreeBSD.org>

MFC r198151

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.


# 1def609a 15-Oct-2009 Andrew Thompson <thompsa@FreeBSD.org>

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.

Submitted by: avg
Reviewed by: jhb


# f724bcec 29-Jul-2009 Alfred Perlstein <alfred@FreeBSD.org>

USB controller:
- patch from Alexander Motin <mav@freebsd.org>
- add more ID's
- P4 ID: 165805

Submitted by: hps
Approved by: re


# ed6d949a 22-Jun-2009 Andrew Thompson <thompsa@FreeBSD.org>

- Make struct usb_xfer opaque so that drivers can not access the internals
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h


# a593f6b8 14-Jun-2009 Andrew Thompson <thompsa@FreeBSD.org>

s/usb2_/usb_|usbd_/ on all function names for the USB stack.


# 6830af1a 05-Apr-2009 Andrew Thompson <thompsa@FreeBSD.org>

Remove usb_sw_transfer.[ch] which are now empty after r190735.


# 0f7d4548 20-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

MFp4 //depot/projects/usb @159479,159502,159516,159522,159529

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


# ab42e8b2 20-Mar-2009 Andrew Thompson <thompsa@FreeBSD.org>

MFp4 //depot/projects/usb @159430

- 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


# 155a83e8 09-Mar-2009 Warner Losh <imp@FreeBSD.org>

remove now-redunant cardbus attachment.


# 02ac6454 23-Feb-2009 Andrew Thompson <thompsa@FreeBSD.org>

Move the new USB stack into its new home.