1 # $NetBSD: files.acorn26,v 1.13 2009/01/18 18:23:59 bjh21 Exp $
3 # Copyright (c) 1997, 1998, 2000 Ben Harris
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
9 # 1. Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 # 2. Redistributions in binary form must reproduce the above copyright
12 # notice, this list of conditions and the following disclaimer in the
13 # documentation and/or other materials provided with the distribution.
14 # 3. The name of the author may not be used to endorse or promote products
15 # derived from this software without specific prior written permission.
17 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 # This file is part of NetBSD/acorn26 -- a port of NetBSD to ARM2/3 machines.
33 # Display current IPL in screen border
36 include "dev/ata/files.ata"
37 include "dev/scsipi/files.scsipi"
43 attach cpu at root with cpu_root
44 file arch/acorn26/acorn26/cpu.c cpu
49 defflag opt_fputypes.h FPU_FPPC FPU_FPA
50 file arch/acorn26/acorn26/fpu.c fpu needs-flag
51 file arch/acorn26/acorn26/fpu_asm.S fpu
53 # I/O bus (on the far side of the address and data latches)
54 device iobus { base = -1 }
56 file arch/acorn26/iobus/iobus.c iobus
58 # 82C710/1 on A5000 etc will be at iobus0 base 0x00010000 (and 0x00012000???)
60 # I/O controller (Albion) (usually at iobus0 base 0x00200000)
61 device ioc { [bank = -1], [offset = 0] }
63 file arch/acorn26/iobus/ioc.c ioc needs-flag
64 file arch/acorn26/ioc/ioc_fiq_util.S fiq needs-flag
66 # I^2C bus (bit-banged through IOC control register)
67 device iociic: i2cbus, i2c_bitbang
69 file arch/acorn26/ioc/iociic.c iociic
71 # DS2401 Silicon Serial Number
74 file arch/acorn26/ioc/ssn.c ssn
76 # I/O Extension Block (usually at ioc0 bank 5)
77 device ioeb { [offset = -1] }
79 file arch/acorn26/ioc/ioeb.c ioeb needs-flag
81 # Latches (random internal use) (usually at ioc0 bank 5)
84 file arch/acorn26/ioc/latches.c latches
86 # On-board keyboard interface
87 device arckbd: wskbddev, wsmousedev
89 file arch/acorn26/ioc/arckbd.c arckbd needs-flag
90 file arch/acorn26/ioc/arckbdmap.c arckbd
92 # On-board WD 1772 floppy controller (usually at bank 1 irq 12 fiq 0/1)
93 # Not to be confused with fdc, which will be the PC-style one on A5k etc.
94 device wfdc {drive = -1}
98 # Steal code from arch/atari/dev/fd{.c,reg.h}
100 # Econet module (Motorola 6854) (usually at bank 2 fiq 2)
101 device eca: fiq, eco, ifnet
103 file arch/acorn26/ioc/if_eca.c eca needs-flag
104 file arch/acorn26/ioc/if_eca_fiq.S eca
106 # On-board Rockwell 6551 serial (usually at bank 3 irq 10/1)
109 file arch/acorn26/acorn26/rscons.c rs needs-flag
111 # On-board printer port (usually at bank 5 addr 0x10 irq 0/2)
114 file arch/acorn26/ioc/arcpp.c arcpp needs-flag
117 # Podule interface (podules listed later) (usually at bank 4 irq 13 fiq 6)
118 # Unix backplanes also use bank 6
119 # MEMC podules also use the iobus directly
123 # NB: files.podulebus must come after unixbp is defined, to get the
124 # attachments in the right order.
125 include "dev/podulebus/files.podulebus"
126 attach podulebus at ioc
127 file arch/acorn26/podulebus/podulebus.c podulebus
128 file arch/acorn26/podulebus/podloader_asm.S podloader needs-flag
129 file arch/acorn26/podulebus/unixbp.c unixbp needs-flag
131 # Acorn ST506 interface (usually at bank 5 irq 11, or sometimes on a podule)
132 device hdc { drive = -1 }
133 attach hdc at ioc with hdc_ioc
134 attach hdc at podulebus with hdc_podulebus
138 # VIDC/MEMC audio/video subsystems.
139 device arcvideo: rasops1, rasops2, rasops4, rasops8, wsemuldisplaydev
140 attach arcvideo at root
141 file arch/acorn26/vidc/arcvideo.c arcvideo needs-flag
143 device arcaudio: audiobus
144 attach arcaudio at root
147 # 82C7xx Universal Peripheral Controller
150 # This section belongs here
151 attach upc at iobus with upc_iobus
152 file arch/acorn26/iobus/upc_iobus.c upc_iobus
158 # i-cubed EtherLAN 100, 200 and 500
159 device eh: ether, ifnet, arp, dp8390nic, podloader
160 attach eh at podulebus
161 file arch/acorn26/podulebus/if_eh.c eh
163 # PowerROM test driver
164 device powerrom: podloader
165 attach powerrom at podulebus
166 file arch/acorn26/podulebus/powerrom.c powerrom
168 # Memory disk for installation (or ROM versions?)
169 file dev/md_root.c memory_disk_hooks
178 file arch/acorn26/acorn26/db_interface.c ddb
179 file arch/acorn26/acorn26/db_machdep.c ddb
181 file arch/acorn26/acorn26/start.c
182 file arch/acorn26/acorn26/autoconf.c
183 file arch/acorn26/acorn26/bus.c
184 file arch/acorn26/acorn26/bus_asm.S
185 file arch/acorn26/acorn26/conf.c
186 file arch/acorn26/acorn26/cons_machdep.c
187 file arch/acorn26/acorn26/cpuswitch.c
188 file arch/acorn26/acorn26/except.c
189 file arch/acorn26/acorn26/irq.c
190 file arch/acorn26/acorn26/machdep.c
191 file arch/acorn26/acorn26/mem.c
192 file arch/acorn26/acorn26/pmap.c
193 #file arch/acorn26/acorn26/rscons.c
194 file arch/acorn26/acorn26/stubs.c
195 file arch/acorn26/acorn26/sys_machdep.c
196 file arch/acorn26/acorn26/vm_machdep.c
198 file arch/arm/arm/disksubr.c disk
199 file arch/arm/arm/disksubr_acorn.c disk
200 file arch/arm/arm/disksubr_mbr.c disk
202 include "arch/acorn26/conf/majors.acorn26"