files.acorn32 revision 1.13 1 # $NetBSD: files.acorn32,v 1.13 2002/06/16 12:14:30 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
22 #
23 # Machine-independent ATA drivers
24 #
25 include "dev/ata/files.ata"
26 major {wd = 16}
27
28 # PIOC (Peripheral IO Controller) device
29 # parent to wdc, fdc, com and lpt
30 device pioc { [offset = -1], [dack = -1], [irq = -1] }
31 attach pioc at mainbus
32 file arch/acorn32/mainbus/pioc.c
33
34 # Standard NetBSD wdc driver
35 attach wdc at pioc with wdc_pioc
36 file arch/acorn32/mainbus/wdc_pioc.c wdc_pioc
37
38 # Standard parallel driver
39 # including dev/ic/lpt.c from the ISA file ... this sux
40 device lpt
41 file dev/ic/lpt.c lpt needs-flag
42
43 attach lpt at pioc with lpt_pioc
44 file arch/acorn32/mainbus/lpt_pioc.c lpt_pioc needs-flag
45
46 # Standard NetBSD fd driver
47 device fdc {drive = -1}
48 attach fdc at pioc
49 device fd: disk
50 attach fd at fdc
51 file arch/acorn32/mainbus/fd.c fdc needs-flag
52 major {fd = 17}
53
54 # Standard serial driver
55 attach com at pioc with com_pioc
56 file arch/acorn32/mainbus/com_pioc.c com_pioc
57
58 # Memory disk driver
59 file arch/acorn32/dev/md_hooks.c md & memory_disk_hooks
60 major {md = 18}
61
62 # RAIDframe
63 major {raid = 71}
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 major {sd = 24}
102 major {cd = 26}
103
104 #
105 # Miscelanious podulebus devices not moved yet to dev/podules
106 #
107
108 # Generic sbic (WD3393) driver
109 define sbic
110 file arch/acorn32/podulebus/sbic.c sbic
111
112 # Acorn SCSI I specific layer for sbic
113 device asc: scsi, sbic, podloader
114 attach asc at podulebus
115 file arch/acorn32/podulebus/asc.c asc needs-flag
116
117 # Generic AMD AM53C94 driver
118 define esc
119 file arch/acorn32/podulebus/esc.c esc
120
121 # Connect32 specific layer for esc
122 device cosc: scsi, esc
123 attach cosc at podulebus
124 file arch/acorn32/podulebus/cosc.c cosc
125
126 # Generic fas216 + esp216 driver
127 define sfas
128 file arch/acorn32/podulebus/sfas.c sfas
129
130 device ptsc: scsi, sfas, podloader
131 attach ptsc at podulebus
132 file arch/acorn32/podulebus/ptsc.c ptsc
133
134 device csc: scsi, sfas, podloader
135 attach csc at podulebus
136 file arch/acorn32/podulebus/csc.c csc
137
138 # Cumana SCSI1 specific layer for ncr5380
139 device csa: scsi, ncr5380sbc, podloader
140 attach csa at podulebus
141 file arch/acorn32/podulebus/csa.c csa
142
143 # ICS IDE driver
144 device icside {[channel = -1]}: wdc_base, ata, atapi
145 attach icside at podulebus
146 file arch/acorn32/podulebus/icside.c icside
147 file arch/acorn32/podulebus/icside_io_asm.S icside
148
149 # Yellowstone RapIDE driver
150 device rapide {[channel = -1]}: wdc_base, ata, atapi
151 attach rapide at podulebus
152 file arch/acorn32/podulebus/rapide.c rapide
153 file arch/acorn32/podulebus/rapide_io_asm.S rapide
154
155 # Simtec IDE driver
156 device simide {[channel = -1]}: wdc_base, ata, atapi
157 attach simide at podulebus
158 file arch/acorn32/podulebus/simide.c simide
159 file arch/acorn32/podulebus/simide_io_asm.S simide
160
161 # Atomwide Multi-Port Serial driver
162 device amps {}
163 attach amps at podulebus
164 attach com at amps with com_amps
165 file arch/acorn32/podulebus/amps.c amps
166
167
168 # Generic MD files
169 file arch/acorn32/acorn32/autoconf.c
170 file arch/acorn32/acorn32/conf.c
171
172 file arch/arm/arm/disksubr.c disk
173 file arch/arm/arm/disksubr_acorn.c disk
174 file arch/arm/arm/disksubr_mbr.c disk
175
176 file arch/arm/arm32/intr.c
177 file arch/arm/arm32/spl.S
178
179 # RiscPC specific files
180 file arch/acorn32/acorn32/rpc_machdep.c
181 file arch/acorn32/acorn32/rpc_kbd_map.c
182
183 #
184 # Machine-independent I2O drivers.
185 #
186 include "dev/i2o/files.i2o"
187
188
189 #
190 # maybe we will use these later one time :
191 #
192 # Include USB stuff
193 #include "dev/usb/files.usb"
194