From 4f767b9d7dbc31662f0ecf8483b5e834a245cd06 Mon Sep 17 00:00:00 2001 From: Cameron Grant Date: Tue, 4 Jul 2000 23:32:15 +0000 Subject: [PATCH] newpcm module makefiles once built, 'kld_load snd_driver; kldunload snd_driver' will load all sound drivers and unload all unattached ones. attached drivers do not yet support unloading. --- sys/modules/sound/Makefile | 7 +++++++ sys/modules/sound/Makefile.inc | 3 +++ sys/modules/sound/driver/Makefile | 7 +++++++ sys/modules/sound/driver/Makefile.inc | 3 +++ sys/modules/sound/driver/ad1816/Makefile | 8 ++++++++ sys/modules/sound/driver/csa/Makefile | 8 ++++++++ sys/modules/sound/driver/csapcm/Makefile | 8 ++++++++ sys/modules/sound/driver/driver/Makefile | 8 ++++++++ sys/modules/sound/driver/ds1/Makefile | 8 ++++++++ sys/modules/sound/driver/emu10k1/Makefile | 8 ++++++++ sys/modules/sound/driver/es137x/Makefile | 8 ++++++++ sys/modules/sound/driver/es1888/Makefile | 8 ++++++++ sys/modules/sound/driver/ess/Makefile | 8 ++++++++ sys/modules/sound/driver/gusc/Makefile | 8 ++++++++ sys/modules/sound/driver/mss/Makefile | 8 ++++++++ sys/modules/sound/driver/neomagic/Makefile | 8 ++++++++ sys/modules/sound/driver/sb/Makefile | 8 ++++++++ sys/modules/sound/driver/sbc/Makefile | 8 ++++++++ sys/modules/sound/driver/t4dwave/Makefile | 8 ++++++++ sys/modules/sound/pcm/Makefile | 8 ++++++++ sys/modules/sound/sound/Makefile | 8 ++++++++ 21 files changed, 156 insertions(+) create mode 100644 sys/modules/sound/Makefile create mode 100644 sys/modules/sound/Makefile.inc create mode 100644 sys/modules/sound/driver/Makefile create mode 100644 sys/modules/sound/driver/Makefile.inc create mode 100644 sys/modules/sound/driver/ad1816/Makefile create mode 100644 sys/modules/sound/driver/csa/Makefile create mode 100644 sys/modules/sound/driver/csapcm/Makefile create mode 100644 sys/modules/sound/driver/driver/Makefile create mode 100644 sys/modules/sound/driver/ds1/Makefile create mode 100644 sys/modules/sound/driver/emu10k1/Makefile create mode 100644 sys/modules/sound/driver/es137x/Makefile create mode 100644 sys/modules/sound/driver/es1888/Makefile create mode 100644 sys/modules/sound/driver/ess/Makefile create mode 100644 sys/modules/sound/driver/gusc/Makefile create mode 100644 sys/modules/sound/driver/mss/Makefile create mode 100644 sys/modules/sound/driver/neomagic/Makefile create mode 100644 sys/modules/sound/driver/sb/Makefile create mode 100644 sys/modules/sound/driver/sbc/Makefile create mode 100644 sys/modules/sound/driver/t4dwave/Makefile create mode 100644 sys/modules/sound/pcm/Makefile create mode 100644 sys/modules/sound/sound/Makefile diff --git a/sys/modules/sound/Makefile b/sys/modules/sound/Makefile new file mode 100644 index 000000000000..41ea856b17e7 --- /dev/null +++ b/sys/modules/sound/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +SUBDIR = +SUBDIR += pcm +SUBDIR += driver + +.include diff --git a/sys/modules/sound/Makefile.inc b/sys/modules/sound/Makefile.inc new file mode 100644 index 000000000000..265f86d1ed55 --- /dev/null +++ b/sys/modules/sound/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +.include "../Makefile.inc" diff --git a/sys/modules/sound/driver/Makefile b/sys/modules/sound/driver/Makefile new file mode 100644 index 000000000000..e4425e5a53cd --- /dev/null +++ b/sys/modules/sound/driver/Makefile @@ -0,0 +1,7 @@ +# $FreeBSD$ + +SUBDIR = ad1816 csa csapcm ds1 emu10k1 es137x es1888 ess gusc +SUBDIR += mss neomagic sb sbc t4dwave +SUBDIR += driver + +.include diff --git a/sys/modules/sound/driver/Makefile.inc b/sys/modules/sound/driver/Makefile.inc new file mode 100644 index 000000000000..265f86d1ed55 --- /dev/null +++ b/sys/modules/sound/driver/Makefile.inc @@ -0,0 +1,3 @@ +# $FreeBSD$ + +.include "../Makefile.inc" diff --git a/sys/modules/sound/driver/ad1816/Makefile b/sys/modules/sound/driver/ad1816/Makefile new file mode 100644 index 000000000000..a506c30edf6a --- /dev/null +++ b/sys/modules/sound/driver/ad1816/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_ad1816 +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ad1816.c + +.include diff --git a/sys/modules/sound/driver/csa/Makefile b/sys/modules/sound/driver/csa/Makefile new file mode 100644 index 000000000000..2f6ffe173d17 --- /dev/null +++ b/sys/modules/sound/driver/csa/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_csa +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += csa.c + +.include diff --git a/sys/modules/sound/driver/csapcm/Makefile b/sys/modules/sound/driver/csapcm/Makefile new file mode 100644 index 000000000000..42f12c7aad8c --- /dev/null +++ b/sys/modules/sound/driver/csapcm/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_csapcm +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += csapcm.c + +.include diff --git a/sys/modules/sound/driver/driver/Makefile b/sys/modules/sound/driver/driver/Makefile new file mode 100644 index 000000000000..722ef8ef7209 --- /dev/null +++ b/sys/modules/sound/driver/driver/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound +KMOD = snd_driver +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += driver.c + +.include diff --git a/sys/modules/sound/driver/ds1/Makefile b/sys/modules/sound/driver/ds1/Makefile new file mode 100644 index 000000000000..a703e1ce8138 --- /dev/null +++ b/sys/modules/sound/driver/ds1/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_ds1 +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ds1.c + +.include diff --git a/sys/modules/sound/driver/emu10k1/Makefile b/sys/modules/sound/driver/emu10k1/Makefile new file mode 100644 index 000000000000..73c6ff3a36f5 --- /dev/null +++ b/sys/modules/sound/driver/emu10k1/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_emu10k1 +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += emu10k1.c + +.include diff --git a/sys/modules/sound/driver/es137x/Makefile b/sys/modules/sound/driver/es137x/Makefile new file mode 100644 index 000000000000..b1f7abdf95a2 --- /dev/null +++ b/sys/modules/sound/driver/es137x/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_es137x +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += es137x.c + +.include diff --git a/sys/modules/sound/driver/es1888/Makefile b/sys/modules/sound/driver/es1888/Makefile new file mode 100644 index 000000000000..2a6fc3be1ed3 --- /dev/null +++ b/sys/modules/sound/driver/es1888/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_es1888 +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += es1888.c + +.include diff --git a/sys/modules/sound/driver/ess/Makefile b/sys/modules/sound/driver/ess/Makefile new file mode 100644 index 000000000000..3dc1032d1528 --- /dev/null +++ b/sys/modules/sound/driver/ess/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_ess +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ess.c + +.include diff --git a/sys/modules/sound/driver/gusc/Makefile b/sys/modules/sound/driver/gusc/Makefile new file mode 100644 index 000000000000..facf8acec9f2 --- /dev/null +++ b/sys/modules/sound/driver/gusc/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_gusc +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += gusc.c + +.include diff --git a/sys/modules/sound/driver/mss/Makefile b/sys/modules/sound/driver/mss/Makefile new file mode 100644 index 000000000000..46703688df6d --- /dev/null +++ b/sys/modules/sound/driver/mss/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_mss +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += mss.c + +.include diff --git a/sys/modules/sound/driver/neomagic/Makefile b/sys/modules/sound/driver/neomagic/Makefile new file mode 100644 index 000000000000..be8016c2ce18 --- /dev/null +++ b/sys/modules/sound/driver/neomagic/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_neomagic +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += neomagic.c + +.include diff --git a/sys/modules/sound/driver/sb/Makefile b/sys/modules/sound/driver/sb/Makefile new file mode 100644 index 000000000000..47373c8feab0 --- /dev/null +++ b/sys/modules/sound/driver/sb/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_sb +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += sb.c + +.include diff --git a/sys/modules/sound/driver/sbc/Makefile b/sys/modules/sound/driver/sbc/Makefile new file mode 100644 index 000000000000..3974b5a82db7 --- /dev/null +++ b/sys/modules/sound/driver/sbc/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/isa +KMOD = snd_sbc +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += sbc.c + +.include diff --git a/sys/modules/sound/driver/t4dwave/Makefile b/sys/modules/sound/driver/t4dwave/Makefile new file mode 100644 index 000000000000..6c0bb3fa1dc5 --- /dev/null +++ b/sys/modules/sound/driver/t4dwave/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../../dev/sound/pci +KMOD = snd_t4dwave +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += t4dwave.c + +.include diff --git a/sys/modules/sound/pcm/Makefile b/sys/modules/sound/pcm/Makefile new file mode 100644 index 000000000000..6886105d53fc --- /dev/null +++ b/sys/modules/sound/pcm/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../dev/sound/pcm +KMOD = snd_pcm +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ac97.c channel.c dsp.c fake.c feeder.c mixer.c sound.c + +.include diff --git a/sys/modules/sound/sound/Makefile b/sys/modules/sound/sound/Makefile new file mode 100644 index 000000000000..6886105d53fc --- /dev/null +++ b/sys/modules/sound/sound/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../../dev/sound/pcm +KMOD = snd_pcm +SRCS = device_if.h bus_if.h isa_if.h pci_if.h +SRCS += ac97.c channel.c dsp.c fake.c feeder.c mixer.c sound.c + +.include