Rearrange this a little so we can use MI ISA DMA code. XXX Should just

pull in files.isa, but Not Right Now, apparently.

Add the sound blaster driver here (XXX see above), and build the
arm32 bus_dma back-end.
This commit is contained in:
thorpej 1998-07-08 04:51:12 +00:00
parent 8e03657b43
commit a177e7aedc
1 changed files with 16 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm32,v 1.47 1998/07/07 03:05:15 mark Exp $ # $NetBSD: files.arm32,v 1.48 1998/07/08 04:51:12 thorpej Exp $
# #
# First try for arm-specific configuration info # First try for arm-specific configuration info
# #
@ -68,6 +68,20 @@ file arch/arm32/ofw/ofw.c ofw
file arch/arm32/ofw/openfirm.c ofw file arch/arm32/ofw/openfirm.c ofw
file arch/arm32/ofw/oftodclock.c ofw & (shark | ofwgencfg) file arch/arm32/ofw/oftodclock.c ofw & (shark | ofwgencfg)
# XXX ISA DMA controller (for SoundBlaster - should just pull in
# XXX files.isa)
define isadma
file dev/isa/isadma.c isadma needs-flag
file arch/arm32/isa/isadma_machdep.c isadma
# XXX SoundBlaster stuff (for files.ofisa - should just pull in
# XXX files.isa)
define sbdsp
file dev/isa/sbdsp.c sbdsp
device sb: audio, isadma, sbdsp, mulaw, auconv
file dev/isa/sb.c sb needs-flag
# OFW ISA bus driver. # OFW ISA bus driver.
include "../../../dev/ofisa/files.ofisa" include "../../../dev/ofisa/files.ofisa"
file arch/arm32/ofw/ofisa_machdep.c ofisa file arch/arm32/ofw/ofisa_machdep.c ofisa
@ -340,6 +354,7 @@ file arch/arm32/vidc/console/dumb.c vt
# Generic MD files # Generic MD files
file arch/arm32/arm32/autoconf.c file arch/arm32/arm32/autoconf.c
file arch/arm32/arm32/blockio.S file arch/arm32/arm32/blockio.S
file arch/arm32/arm32/bus_dma.c
file arch/arm32/arm32/conf.c file arch/arm32/arm32/conf.c
file arch/arm32/arm32/cpuswitch.S file arch/arm32/arm32/cpuswitch.S
file arch/arm32/arm32/disksubr.c disk file arch/arm32/arm32/disksubr.c disk
@ -445,19 +460,11 @@ device pc: tty, pckbd, i8042
attach pc at ofisapc attach pc at ofisapc
file arch/arm32/shark/pccons.c pc & ofw needs-flag file arch/arm32/shark/pccons.c pc & ofw needs-flag
# ISA DMA controller
define isadma
file arch/arm32/isa/isadma.c isadma needs-flag
# cs8900 Crystal Ethernet Controller # cs8900 Crystal Ethernet Controller
device cs: ether, ifnet, isadma, arp device cs: ether, ifnet, isadma, arp
attach cs at ofisacs attach cs at ofisacs
file arch/arm32/isa/if_cs_isa.c cs file arch/arm32/isa/if_cs_isa.c cs
# the SoundBlaster DSP, or close likenesses; used by other drivers
define sbdsp
file dev/isa/sbdsp.c sbdsp
# ESS Technology ES1887/ES888, currently based on SoundBlaster code # ESS Technology ES1887/ES888, currently based on SoundBlaster code
device ess: audio, isadma, sbdsp, mulaw device ess: audio, isadma, sbdsp, mulaw
attach ess at ofisaess attach ess at ofisaess