aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/p2sb
Commit message (Collapse)AuthorAgeFilesLines
* gpio: remove gpiobus_attach_busAhmad Khalifa2025-08-131-1/+2
| | | | | | | | | | | | Since gpiobus_attach_bus can attach the gpiobus child along with its children in the same bus pass, the parent controller's reference to gpiobus might not be set by the time the children need it. Instead, drivers should use gpiobus_add_bus and explicitly call bus_attach_children. Reviewed by: mmel, imp (older version) Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D51578
* newbus: replace leftover device unit wildcardsAhmad Khalifa2025-06-211-1/+1
| | | | | | Reviewed by: imp, jhb Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D50913
* Use bus_generic_detach instead of device_delete_children in detachJohn Baldwin2025-01-021-1/+5
| | | | | | | 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
* Use the new bus_generic_detach directly in place of home-grown versionsJohn Baldwin2025-01-021-13/+1
| | | | Differential Revision: https://reviews.freebsd.org/D47960
* Replace calls to bus_generic_attach with bus_attach_childrenJohn Baldwin2024-12-062-2/+4
| | | | | Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47675
* p2sb: Remove unused devclass arguments to DRIVER_MODULE.John Baldwin2022-05-093-8/+4
|
* Add support for Lewisburg GPIO through P2SBArnaud Ysmal2021-08-265-0/+858
Obtained from: Semihalf Sponsored by: Stormshield Differential revision: https://reviews.freebsd.org/D31269