summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-12-11 05:28:00 +0000
committerimp <imp@FreeBSD.org>2015-12-11 05:28:00 +0000
commit372c4744b653cb538ad633af447e0f62791de9aa (patch)
tree53b2b65701b99fe09809fbc71684efc28a02053e /sys/dev/sound
parent77eac42e70f63160d6d267a51a880c804e5b20e7 (diff)
downloadFreeBSD-src-372c4744b653cb538ad633af447e0f62791de9aa.zip
FreeBSD-src-372c4744b653cb538ad633af447e0f62791de9aa.tar.gz
Create a USB_PNP_INFO and use it to export the existing PNP
tables. Some drivers needed some slight re-arrangement of declarations to accommodate this. Change the USB pnp tables slightly to allow better compatibility with the system by moving linux driver info from start of each entry to the end. All other PNP tables in the system have the per-device flags and such at the end of the elements rather that at the beginning. Differential Review: https://reviews.freebsd.org/D3458
Diffstat (limited to 'sys/dev/sound')
-rw-r--r--sys/dev/sound/usb/uaudio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c
index 063d8ce..c3baf7f 100644
--- a/sys/dev/sound/usb/uaudio.c
+++ b/sys/dev/sound/usb/uaudio.c
@@ -6118,3 +6118,4 @@ DRIVER_MODULE_ORDERED(uaudio, uhub, uaudio_driver, uaudio_devclass, NULL, 0, SI_
MODULE_DEPEND(uaudio, usb, 1, 1, 1);
MODULE_DEPEND(uaudio, sound, SOUND_MINVER, SOUND_PREFVER, SOUND_MAXVER);
MODULE_VERSION(uaudio, 1);
+USB_PNP_HOST_INFO(uaudio_devs);
OpenPOWER on IntegriCloud