HomeFreeBSD

newbus: Introduce bus_get_pass() and hide bus_current_pass

Description

newbus: Introduce bus_get_pass() and hide bus_current_pass

There's no reason to write to bus_current_pass outside of the controlled
times subr_bus.c does it, so move to an accessor and make
bus_current_pass private to newbus.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1457

Details

Provenance
ehem_freebsd_m5p.comAuthored on Oct 6 2024, 12:19 AM
impCommitted on Nov 2 2024, 6:25 PM
Parents
rG470a63cde428: sctp: garbage collect two unused functions
Branches
Unknown
Tags
Unknown