HomeFreeBSD

Move to using sbuf for some sysctl in newbus

Description

Move to using sbuf for some sysctl in newbus

Convert two different sysctl to using sbuf. First, for all the default
sysctls we implement for each device driver that's attached. This is a
pure sbuf conversion.

Second, convert sysctl_devices to fill its buffer with sbuf rather
than a hand-rolled crappy thing I wrote years ago.

Reviewed by: cem, markj
Differential Revision: https://reviews.freebsd.org/D26206

Details

Provenance
impAuthored on
Reviewer
cem
Differential Revision
D26206: Move to using sbuf for some sysctl in newbus
Parents
rS364945: Retire devctl_notify_f()
Branches
Unknown
Tags
Unknown