1#         $NetBSD: files.acorn32,v 1.30 2025/01/05 21:37:20 andvar Exp $
2#
3# First try for arm-specific configuration info
4#
5
6maxpartitions       8
7maxusers 2 8 64
8
9# Maintain Interrupt statistics
10defflag   IRQSTATS
11
12#
13# Machine-independent ATA drivers
14#
15include "dev/ata/files.ata"
16
17# PIOC (Peripheral IO Controller) device
18# parent to wdc, fdc, com and lpt
19device    pioc { [offset = -1], [dack = -1], [irq = -1] }
20attach    pioc at mainbus
21file      arch/acorn32/mainbus/pioc.c
22
23# Standard NetBSD wdc driver
24attach    wdc at pioc with wdc_pioc
25file      arch/acorn32/mainbus/wdc_pioc.c                   wdc_pioc
26
27# Standard parallel driver
28attach    lpt at pioc with lpt_pioc
29file      arch/acorn32/mainbus/lpt_pioc.c                   lpt_pioc & !ppbus needs-flag
30
31# New parallel driver
32attach    atppc at pioc with atppc_pioc
33file      arch/acorn32/mainbus/atppc_pioc.c       atppc_pioc
34
35# Standard NetBSD fd driver
36device    fdc {drive = -1}
37attach    fdc at pioc
38device    fd: disk
39attach    fd at fdc
40file      arch/acorn32/mainbus/fd.c                         fdc needs-flag
41
42# Standard serial driver
43attach    com at pioc with com_pioc
44file      arch/acorn32/mainbus/com_pioc.c                   com_pioc
45
46# Memory disk driver
47file      arch/acorn32/dev/md_hooks.c             md & memory_disk_hooks
48
49# Include IOMD support
50include "arch/arm/iomd/files.iomd"
51
52# Podule bus device
53include "dev/podulebus/files.podulebus"
54
55attach    podulebus at root
56file      arch/acorn32/podulebus/podulebus.c      podulebus needs-flag
57file      arch/acorn32/podulebus/podulebus_io.c   podulebus
58file      arch/acorn32/podulebus/podulebus_io_asm.S         podulebus
59file      arch/acorn32/podulebus/netslot.c                  podulebus
60
61
62# Ethernet devices
63
64# Novell NE1000 and NE2000 clones (EtherM, EtherH)
65attach    ne at podulebus with ne_pbus: dp83905, mx98905
66file      arch/acorn32/podulebus/if_ne_pbus.c     ne_pbus
67
68device    ie: ether, ifnet, arp
69attach    ie at podulebus
70file      arch/acorn32/podulebus/if_ie.c                    ie
71
72#
73# Machine-independent SCSI drivers
74#
75
76include "dev/scsipi/files.scsipi"
77
78#
79# Miscellaneous podulebus devices not moved yet to dev/podules
80#
81
82# Generic sbic (WD3393) driver
83define    sbic
84file      arch/acorn32/podulebus/sbic.c           sbic
85
86# Acorn SCSI I specific layer for sbic
87device    asc: scsi, sbic, podloader
88attach    asc at podulebus
89file      arch/acorn32/podulebus/asc.c            asc needs-flag
90
91# Generic AMD AM53C94 driver
92define    esc
93file      arch/acorn32/podulebus/esc.c            esc
94
95# Connect32 specific layer for esc
96device    cosc: scsi, esc
97attach    cosc at podulebus
98file      arch/acorn32/podulebus/cosc.c           cosc
99
100# Generic fas216 + esp216 driver
101define    sfas
102file      arch/acorn32/podulebus/sfas.c           sfas
103
104device    ptsc: scsi, sfas, podloader
105attach    ptsc at podulebus
106file      arch/acorn32/podulebus/ptsc.c           ptsc
107
108device    csc: scsi, sfas, podloader
109attach    csc at podulebus
110file      arch/acorn32/podulebus/csc.c            csc
111
112# Cumana SCSI1 specific layer for ncr5380
113device    csa: scsi, ncr5380sbc, podloader
114attach    csa at podulebus
115file      arch/acorn32/podulebus/csa.c            csa
116
117# ICS IDE driver
118device    icside {[channel = -1]}: ata
119attach    icside at podulebus
120file      arch/acorn32/podulebus/icside.c                   icside
121file      arch/acorn32/podulebus/icside_io_asm.S  icside
122
123# Yellowstone RapIDE driver
124device    rapide {[channel = -1]}: ata
125attach    rapide at podulebus
126file      arch/acorn32/podulebus/rapide.c                   rapide
127file      arch/acorn32/podulebus/rapide_io_asm.S  rapide
128
129# Simtec IDE driver
130device    simide {[channel = -1]}: ata
131attach    simide at podulebus
132file      arch/acorn32/podulebus/simide.c                   simide
133file      arch/acorn32/podulebus/simide_io_asm.S  simide
134
135# RiscStation bus
136device    rsbus { [addr = 0], [size = 0], [irq = 0] }
137attach    rsbus at mainbus
138file      arch/acorn32/eb7500atx/rsbus.c                    rsbus
139file      arch/acorn32/eb7500atx/rsbus_io.c       rsbus
140file      arch/acorn32/eb7500atx/rsbus_io_asm.S   rsbus
141
142# riscstation IDE driver
143attach wdc at rsbus with rside
144file   arch/acorn32/eb7500atx/rside.c          rside
145
146# RiscStation's CS network driver
147attach  cs at rsbus with cs_rsbus
148file    arch/acorn32/eb7500atx/if_cs.c          cs_rsbus
149
150# Atomwide Multi-Port Serial driver
151device    amps {}
152attach    amps at podulebus
153attach    com at amps with com_amps
154file      arch/acorn32/podulebus/amps.c           amps
155
156
157# Generic MD files
158file      arch/acorn32/acorn32/autoconf.c
159file      arch/acorn32/acorn32/conf.c
160
161file      arch/arm/arm/disksubr.c                           disk
162file      arch/arm/arm/disksubr_acorn.c           disk
163file      arch/arm/arm/disksubr_mbr.c             disk
164
165file      arch/arm/arm32/intr.c
166file      arch/arm/arm32/spl.S
167
168# RiscPC specific files
169file      arch/acorn32/acorn32/rpc_machdep.c      !rsbus
170
171# eb7500atx specific files
172file      arch/acorn32/eb7500atx/eb7500atx_machdep.c        rsbus
173
174#
175# Machine-independent I2O drivers.
176#
177include "dev/i2o/files.i2o"
178
179#
180# MI PC keyboard port drivers
181#
182include "dev/pckbport/files.pckbport"
183
184#
185# maybe we will use these later one time :
186#
187# Include USB stuff
188#include "dev/usb/files.usb"
189
190include "arch/acorn32/conf/majors.acorn32"
191