]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/cam/cam_periph.c
Use devctl.h instead of bus.h to reduce newbus pollution.
authorWarner Losh <imp@FreeBSD.org>
Fri, 21 Aug 2020 00:03:24 +0000 (00:03 +0000)
committerWarner Losh <imp@FreeBSD.org>
Fri, 21 Aug 2020 00:03:24 +0000 (00:03 +0000)
commit773e541e8d088fb20dd4451f1304f805a558728f
tree24937755d9c0271ef906fe364e7af81208400e48
parentc7dd069c70d465298f14553d981bfe5e2ffd0459
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