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