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