]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use devctl.h instead of bus.h to reduce newbus pollution.
authorimp <imp@FreeBSD.org>
Fri, 21 Aug 2020 00:03:24 +0000 (00:03 +0000)
committerimp <imp@FreeBSD.org>
Fri, 21 Aug 2020 00:03:24 +0000 (00:03 +0000)
commit0e02faf73c70715165019c59213f838937c47cc0
tree24937755d9c0271ef906fe364e7af81208400e48
parentdab456acba9feae32e1c7ebad2d92e96338954d6
Use devctl.h instead of bus.h to reduce newbus pollution.

There's no need for these parts of the kernel to know about newbus,
so narrow what is included to devctl.h for device_notify_*.

Suggested by: kib@
sys/cam/cam_periph.c
sys/cddl/compat/opensolaris/kern/opensolaris_sysevent.c
sys/geom/geom_dev.c
sys/geom/geom_disk.c
sys/kern/kern_conf.c
sys/kern/kern_rctl.c
sys/kern/kern_sig.c
sys/kern/vfs_mount.c
sys/net/if_ethersubr.c
sys/netinet/ip_carp.c