Move dma.c away from the mainbus floppy and make it a separate entity with

tag 'mbdma'.
This commit is contained in:
leo 2001-04-10 06:36:08 +00:00
parent e159fdc910
commit 30f5357c6e
1 changed files with 8 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#
# $NetBSD: files.atari,v 1.77 2001/04/10 06:28:38 leo Exp $
# $NetBSD: files.atari,v 1.78 2001/04/10 06:36:08 leo Exp $
maxpartitions 16
@ -16,6 +16,10 @@ attach cpu at mainbus
define event {}
file arch/atari/dev/event.c event
# Mainbus shared DMA
define mbdma
file arch/atari/dev/dma.c mbdma
device clock
attach clock at mainbus
file dev/clock_subr.c
@ -57,10 +61,9 @@ device fdc { unit = -1 }
attach fdc at mainbus
# TT/Falcon floppy driver
device fd: disk
device fd: disk, mbdma
attach fd at fdc
file arch/atari/dev/fd.c fd needs-flag
file arch/atari/dev/dma.c
major {fd = 2}
# Hades floppy driver
@ -167,7 +170,7 @@ attach fdisa at fdcisa
file dev/isa/fd.c fdisa
major {fdisa = 2}
attach wdc at mainbus with wdc_mb
attach wdc at mainbus with wdc_mb: mbdma
file arch/atari/dev/wdc_mb.c wdc_mb
major {wd = 14}
@ -185,7 +188,7 @@ major {sd = 4}
major {cd = 6}
# ncr 5380 controller
device ncrscsi: scsi
device ncrscsi: scsi, mbdma
attach ncrscsi at mainbus
file arch/atari/dev/atari5380.c ncrscsi needs-flag