Change attributes of `dma', `espdma' and `ledma' (the attributes on the latter

two didn't seem to make much sense anyway..) to allow `esp' devices to be
attached to one of `sbus', `dma' and `espdma'.

Remove the wildcarded `espdma?' and `ledma?' attachments of `esp' and `le'
respectively, in favour of `dma?' and `lebuffer?' (but the latter is not
yet implemented), which seems to better match reality: additional SBus
SCSI/Lance boards call themselves `dma' and `lebuffer'.
This commit is contained in:
pk 1996-05-16 22:38:04 +00:00
parent a7b26a647b
commit e509f9aaeb
3 changed files with 35 additions and 27 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC,v 1.24 1996/05/16 03:13:27 thorpej Exp $
# $NetBSD: GENERIC,v 1.25 1996/05/16 22:38:06 pk Exp $
# Machine architecture; required by config(8)
machine sparc
@ -132,26 +132,30 @@ zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300
# FSBE/S or sun4m SCSI - an NCR53c94 or equivalent behind
# specialized DMA glue
espdma0 at sbus0 slot ? offset ? # sun4m on-board SCSI
esp0 at espdma? slot ? offset ?
esp0 at espdma0 #
espdma* at sbus? slot ? offset ? # sun4m
esp* at espdma? slot ? offset ?
# sun4c and sun4/300 SCSI - an NCR53c94 or equivalent behind
# sun4/300 SCSI - an NCR53c94 or equivalent behind
# an LSI Logic DMA controller
dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
esp0 at obio0 addr 0xfa000000 level 4
esp0 at obio0 addr 0xfa000000 level 4 #
# sun4c SCSI - an NCR53c94 or equivalent behind
dma0 at sbus0 slot ? offset ? # sun4c on-board SCSI
esp0 at sbus0 slot ? offset ?
esp0 at sbus0 slot ? offset ? # sun4c
dma* at sbus? slot ? offset ? # sun4c
esp* at sbus? slot ? offset ?
# Additional SBus SCSI boards
dma* at sbus? slot ? offset ? # SBus SCSI
esp* at sbus? slot ? offset ? # sun4c
esp* at dma? # sun4m
# sun4m Ethernet - an AMD 7990 LANCE behind
# specialized DMA glue
ledma0 at sbus0 slot ? offset ? # sun4m on-board
le0 at ledma0 slot ? offset ?
le0 at ledma0 #
# Additional SBus LANCE devices - glued on by lebuffer (not yet implemented)
#lebuffer* at sbus0 slot ? offset ? # sun4m SBus
#le* at lebuffer? #
# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE
le0 at sbus0 slot ? offset ? # sun4c on-board

View File

@ -1,4 +1,4 @@
# $NetBSD: GENERIC_SCSI3,v 1.24 1996/05/16 03:13:29 thorpej Exp $
# $NetBSD: GENERIC_SCSI3,v 1.25 1996/05/16 22:38:08 pk Exp $
# Machine architecture; required by config(8)
machine sparc
@ -132,26 +132,30 @@ zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300
# FSBE/S or sun4m SCSI - an NCR53c94 or equivalent behind
# specialized DMA glue
espdma0 at sbus0 slot ? offset ? # sun4m on-board SCSI
esp0 at espdma? slot ? offset ?
esp0 at espdma0 #
espdma* at sbus? slot ? offset ? # sun4m
esp* at espdma? slot ? offset ?
# sun4c and sun4/300 SCSI - an NCR53c94 or equivalent behind
# sun4/300 SCSI - an NCR53c94 or equivalent behind
# an LSI Logic DMA controller
dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
esp0 at obio0 addr 0xfa000000 level 4
esp0 at obio0 addr 0xfa000000 level 4 #
# sun4c SCSI - an NCR53c94 or equivalent behind
dma0 at sbus0 slot ? offset ? # sun4c on-board SCSI
esp0 at sbus0 slot ? offset ?
esp0 at sbus0 slot ? offset ? # sun4c
dma* at sbus? slot ? offset ? # sun4c
esp* at sbus? slot ? offset ?
# Additional SBus SCSI boards
dma* at sbus? slot ? offset ? # SBus SCSI
esp* at sbus? slot ? offset ? # sun4c
esp* at dma? # sun4m
# sun4m Ethernet - an AMD 7990 LANCE behind
# specialized DMA glue
ledma0 at sbus0 slot ? offset ? # sun4m on-board
le0 at ledma0 slot ? offset ?
le0 at ledma0 #
# Additional SBus LANCE devices - glued on by lebuffer (not yet implemented)
#lebuffer* at sbus0 slot ? offset ? # sun4m SBus
#le* at lebuffer? #
# sun4/300 and sun4c Ethernet - an AMD 7990 LANCE
le0 at sbus0 slot ? offset ? # sun4c on-board

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sparc,v 1.21 1996/05/07 01:24:48 thorpej Exp $
# $NetBSD: files.sparc,v 1.22 1996/05/16 22:38:04 pk Exp $
# @(#)files.sparc 8.1 (Berkeley) 7/19/93
# sparc-specific configuration info
@ -81,16 +81,16 @@ major { sd = 7 }
major { vnd = 8 }
major { cd = 18 }
device dma
device dma {}
attach dma at sbus, obio
device espdma { slot = -1, offset = -1 }
device espdma {}
attach espdma at sbus
device ledma { slot = -1, offset = -1 }
device ledma {}
attach ledma at sbus
file arch/sparc/dev/dma.c dma | espdma | ledma needs-flag
device esp: scsi
attach esp at sbus, espdma, obio
attach esp at sbus, espdma, dma, obio
file arch/sparc/dev/esp.c esp needs-flag
# Brooktree DAC attribute