mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
audio device driver is detached first and not its children. This fixes a panic in some cases when unloading "snd_uaudio" while a USB device is plugged. The linking order affects the order in which the module dependencies are registered. MFC after: 1 week
12 lines
245 B
Makefile
12 lines
245 B
Makefile
# $FreeBSD$
|
|
|
|
S= ${.CURDIR}/../../../..
|
|
|
|
.PATH: $S/dev/sound/usb
|
|
|
|
KMOD= snd_uaudio
|
|
SRCS= bus_if.h device_if.h usb_if.h vnode_if.h
|
|
SRCS+= opt_usb.h opt_bus.h feeder_if.h channel_if.h usbdevs.h
|
|
SRCS+= uaudio_pcm.c uaudio.c
|
|
|
|
.include <bsd.kmod.mk>
|