summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2004-10-25 10:29:57 +0000
committeryongari <yongari@FreeBSD.org>2004-10-25 10:29:57 +0000
commit4feceb845b7fb3f7aa4b129ace24799cd41d7683 (patch)
tree2cf469b09ffa3ed32f8b7ef453aaa1c5ae65ff00 /sys/conf
parent0e87ab8bc6e542c845f82c2bb526208587b200ad (diff)
downloadFreeBSD-src-4feceb845b7fb3f7aa4b129ace24799cd41d7683.zip
FreeBSD-src-4feceb845b7fb3f7aa4b129ace24799cd41d7683.tar.gz
Device driver for onboard CS4231 audio controller which is found
on UltraSPARC workstations. The driver is based on OpenBSD's SBus cs4231 driver and heavily modified to incorporate into sound(4) infrastructure. Due to the lack of APCDMA documentation, the DMA code of SBus cs4231 came from OpenBSD's driver. The driver runs without Giant lock and supports both SBus and EBus based CS4231 audio controller. Special thanks to marius for providing feedbacks during the driver writing. His feedback made it possible to write hiccup free playback code under high system loads. Approved by: jake (mentor) Reviewed by: marius (initial version) Tested by: marius, kwm, Julian C. Dunn(jdunn AT opentrend DOT net)
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/NOTES2
-rw-r--r--sys/conf/files.sparc643
2 files changed, 5 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index f8f3ca6..cd55ed0 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1834,6 +1834,7 @@ device sound
#
# snd_als4000: Avance Logic ALS4000 PCI.
# snd_ad1816: Analog Devices AD1816 ISA PnP/non-PnP.
+# snd_audiocs: Crystal Semiconductor CS4231 SBus/EBus.
# snd_cmi: CMedia CMI8338/CMI8738 PCI.
# snd_cs4281: Crystal Semiconductor CS4281 PCI.
# snd_csa: Crystal Semiconductor CS461x/428x PCI. (except
@@ -1867,6 +1868,7 @@ device sound
device snd_ad1816
device snd_als4000
#device snd_au88x0
+#device snd_audiocs
device snd_cmi
device snd_cs4281
device snd_csa
diff --git a/sys/conf/files.sparc64 b/sys/conf/files.sparc64
index 64572e3..9dd52f9 100644
--- a/sys/conf/files.sparc64
+++ b/sys/conf/files.sparc64
@@ -25,6 +25,8 @@ dev/ofw/ofw_console.c optional ofw_console
dev/ofw/openfirm.c standard
dev/ofw/openfirmio.c standard
dev/ofw/openpromio.c standard
+dev/sound/sbus/cs4231.c optional snd_audiocs ebus
+dev/sound/sbus/cs4231.c optional snd_audiocs sbus
dev/syscons/scgfbrndr.c optional sc
dev/syscons/schistory.c optional sc
dev/syscons/scmouse.c optional sc
@@ -53,6 +55,7 @@ sparc64/fhc/fhc.c optional fhc
sparc64/fhc/fhc_central.c optional fhc central
sparc64/fhc/fhc_nexus.c optional fhc
sparc64/isa/isa.c optional isa
+sparc64/isa/isa_dma.c optional isa
#sparc64/isa/ofw_isa.c optional ebus
#sparc64/isa/ofw_isa.c optional isa
sparc64/isa/ofw_isa.c standard
OpenPOWER on IntegriCloud