HomeFreeBSD

Do not reallocate driver softc for uart unnecessarily.

Description

Do not reallocate driver softc for uart unnecessarily.

Do not assume that all uart drivers use uart_softc structure as is.
Some do a sensible thing and do declare their uart class and driver
properly and arrive into uart_bus_attach with suitably sized softc.

Submitted by: kan
Sponsored by: DARPA, AFRL

Details

Provenance
brAuthored on
Parents
rS308767: Make gpiobus early driver at BUS_PAS_BUS.
Branches
Unknown
Tags
Unknown