Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/dev Add hdaudio driver as a rump kernel component



details:   https://anonhg.NetBSD.org/src/rev/9554142c9596
branches:  trunk
changeset: 333848:9554142c9596
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Nov 19 00:18:58 2014 +0000

description:
Add hdaudio driver as a rump kernel component

tested by booting a rump kernel on a T61, coupled with a client which
writes some Roy Buchanan to /dev/audio

diffstat:

 sys/rump/dev/Makefile.rumpdevcomp               |   4 ++--
 sys/rump/dev/lib/libhdaudio_hdafg/Makefile      |  13 +++++++++++++
 sys/rump/dev/lib/libhdaudio_hdafg/shlib_version |   2 ++
 sys/rump/dev/lib/libpci_hdaudio/Makefile        |  13 +++++++++++++
 sys/rump/dev/lib/libpci_hdaudio/shlib_version   |   2 ++
 5 files changed, 32 insertions(+), 2 deletions(-)

diffs (64 lines):

diff -r 89a3d670ad31 -r 9554142c9596 sys/rump/dev/Makefile.rumpdevcomp
--- a/sys/rump/dev/Makefile.rumpdevcomp Wed Nov 19 00:17:10 2014 +0000
+++ b/sys/rump/dev/Makefile.rumpdevcomp Wed Nov 19 00:18:58 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.rumpdevcomp,v 1.17 2014/11/18 09:04:20 pooka Exp $
+#      $NetBSD: Makefile.rumpdevcomp,v 1.18 2014/11/19 00:18:58 pooka Exp $
 #
 
 RUMPDEVCOMP=   audio audio_ac97 bpf cgd disk dm drvctl fss md netsmb   \
@@ -9,7 +9,7 @@
 
 RUMPPCIDEVS=   pci pci_if_iwn pci_if_pcn pci_if_wm
 RUMPPCIDEVS+=  pci_virtio virtio_if_vioif virtio_ld virtio_viornd
-RUMPPCIDEVS+=  pci_eap
+RUMPPCIDEVS+=  pci_eap pci_hdaudio hdaudio_hdafg
 # Not really a PCI device, but ....
 RUMPPCIDEVS+=  miiphy
 
diff -r 89a3d670ad31 -r 9554142c9596 sys/rump/dev/lib/libhdaudio_hdafg/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libhdaudio_hdafg/Makefile        Wed Nov 19 00:18:58 2014 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1 2014/11/19 00:18:58 pooka Exp $
+#
+
+RUMPTOP=${TOPRUMP}
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/sys/modules/hdafg/Makefile.inc"
+
+LIB=   rumpdev_hdaudio_hdafg
+   
+.include "${RUMPTOP}/Makefile.rump"
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>
diff -r 89a3d670ad31 -r 9554142c9596 sys/rump/dev/lib/libhdaudio_hdafg/shlib_version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libhdaudio_hdafg/shlib_version   Wed Nov 19 00:18:58 2014 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0
diff -r 89a3d670ad31 -r 9554142c9596 sys/rump/dev/lib/libpci_hdaudio/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libpci_hdaudio/Makefile  Wed Nov 19 00:18:58 2014 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1 2014/11/19 00:18:58 pooka Exp $
+#
+
+RUMPTOP=${TOPRUMP}
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/sys/modules/hdaudio/Makefile.inc"
+
+LIB=   rumpdev_pci_hdaudio
+   
+.include "${RUMPTOP}/Makefile.rump"
+.include <bsd.lib.mk>
+.include <bsd.klinks.mk>
diff -r 89a3d670ad31 -r 9554142c9596 sys/rump/dev/lib/libpci_hdaudio/shlib_version
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libpci_hdaudio/shlib_version     Wed Nov 19 00:18:58 2014 +0000
@@ -0,0 +1,2 @@
+major=0
+minor=0



Home | Main Index | Thread Index | Old Index