aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/controller/generic_ehci.c
Commit message (Collapse)AuthorAgeFilesLines
* Split out the attachment from the generic-ehci driverEmmanuel Vadot2019-10-031-28/+4
| | | | | | | | | | | | Create an attachment file for the existing ACPI attachment, and create a new FDT attachment for the generic-ehci driver. Submitted by: andrew (Original version) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D19389 Notes: svn path=/head/; revision=353062
* 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 a generic EHCI USB driver based on the Allwinner A10 driver. It is ACPIAndrew Turner2016-07-291-0/+220
only for now, but wouldn't be too difficult to add support for FDT. Reviewed by: hselasky Obtained from: ABT Systems Ltd MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7352 Notes: svn path=/head/; revision=303475