2003-07-27 05:17:37 +04:00
|
|
|
# $NetBSD: files.acorn26,v 1.5 2003/07/27 01:17:38 thorpej Exp $
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# Copyright (c) 1997, 1998, 2000 Ben Harris
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modification, are permitted provided that the following conditions
|
|
|
|
# are met:
|
|
|
|
# 1. Redistributions of source code must retain the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer.
|
|
|
|
# 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
# notice, this list of conditions and the following disclaimer in the
|
|
|
|
# documentation and/or other materials provided with the distribution.
|
|
|
|
# 3. The name of the author may not be used to endorse or promote products
|
|
|
|
# derived from this software without specific prior written permission.
|
2001-11-20 15:56:17 +03:00
|
|
|
#
|
2000-05-10 01:55:44 +04:00
|
|
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
|
|
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
|
|
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
|
|
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
|
|
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
|
|
|
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
|
|
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
2002-03-24 18:45:29 +03:00
|
|
|
# This file is part of NetBSD/acorn26 -- a port of NetBSD to ARM2/3 machines.
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
maxpartitions 8
|
|
|
|
maxusers 2 8 64
|
|
|
|
|
2001-11-30 01:17:16 +03:00
|
|
|
# Display current IPL in screen border
|
|
|
|
defflag FLASHYTHING
|
|
|
|
|
2000-05-10 01:55:44 +04:00
|
|
|
include "dev/wscons/files.wscons"
|
|
|
|
include "dev/rasops/files.rasops"
|
|
|
|
include "dev/wsfont/files.wsfont"
|
|
|
|
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
|
2001-08-21 03:08:10 +04:00
|
|
|
define fiq
|
|
|
|
|
2000-05-10 01:55:44 +04:00
|
|
|
# CPU
|
2001-02-25 18:33:33 +03:00
|
|
|
#device cpu { }
|
|
|
|
attach cpu at root with cpu_root
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/acorn26/cpu.c cpu
|
2000-05-10 01:55:44 +04:00
|
|
|
|
2000-12-23 16:37:02 +03:00
|
|
|
# Floating-point unit
|
|
|
|
device fpu
|
|
|
|
attach fpu at cpu
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag opt_fputypes.h FPU_FPPC FPU_FPA
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/acorn26/fpu.c fpu needs-flag
|
|
|
|
file arch/acorn26/acorn26/fpu_asm.S fpu
|
2000-12-23 16:37:02 +03:00
|
|
|
|
2000-05-10 01:55:44 +04:00
|
|
|
# I/O bus (on the far side of the address and data latches)
|
|
|
|
device iobus { base = -1 }
|
|
|
|
attach iobus at root
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/iobus/iobus.c iobus
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# 82C710/1 on A5000 etc will be at iobus0 base 0x00010000 (and 0x00012000???)
|
|
|
|
|
|
|
|
# I/O controller (Albion) (usually at iobus0 base 0x00200000)
|
|
|
|
device ioc { [bank = -1], [offset = 0] }
|
|
|
|
attach ioc at iobus
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/iobus/ioc.c ioc needs-flag
|
|
|
|
file arch/acorn26/ioc/ioc_fiq_util.S fiq needs-flag
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# I^2C bus (bit-banged through IOC control register)
|
|
|
|
device iic { addr = -1 }
|
|
|
|
attach iic at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/iic.c iic
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# PCF8583 I^2C Clock/calendar/RAM
|
|
|
|
device rtc
|
|
|
|
attach rtc at iic
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/rtc.c rtc
|
2000-05-10 01:55:44 +04:00
|
|
|
|
2002-03-24 18:45:29 +03:00
|
|
|
# DS2401 Silicon Serial Number
|
|
|
|
device ssn
|
|
|
|
attach ssn at ioc
|
|
|
|
file arch/acorn26/ioc/ssn.c ssn
|
|
|
|
|
2000-05-10 01:55:44 +04:00
|
|
|
# I/O Extension Block (usually at ioc0 bank 5)
|
|
|
|
device ioeb { [offset = -1] }
|
|
|
|
attach ioeb at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/ioeb.c ioeb needs-flag
|
2000-05-10 01:55:44 +04:00
|
|
|
|
2001-04-22 04:26:35 +04:00
|
|
|
# Latches (random internal use) (usually at ioc0 bank 5)
|
|
|
|
device latches
|
|
|
|
attach latches at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/latches.c latches
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# On-board keyboard interface
|
|
|
|
device arckbd { }
|
|
|
|
attach arckbd at ioc
|
|
|
|
device arcwskbd: wskbddev
|
|
|
|
attach arcwskbd at arckbd
|
|
|
|
device arcwsmouse: wsmousedev
|
|
|
|
attach arcwsmouse at arckbd
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/arckbd.c arckbd | arcwskbd | arcwsmouse
|
2001-12-22 01:41:18 +03:00
|
|
|
needs-flag
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/arckbdmap.c arckbd
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# On-board WD 1772 floppy controller (usually at bank 1 irq 12 fiq 0/1)
|
|
|
|
# Not to be confused with fdc, which will be the PC-style one on A5k etc.
|
|
|
|
device wfdc {drive = -1}
|
|
|
|
attach wfdc at ioc
|
|
|
|
device wf: disk
|
|
|
|
attach wf at wfdc
|
|
|
|
# Steal code from arch/atari/dev/fd{.c,reg.h}
|
|
|
|
|
|
|
|
# Econet module (Motorola 6854) (usually at bank 2 fiq 2)
|
2001-09-11 03:41:48 +04:00
|
|
|
device eca: fiq, eco, ifnet
|
|
|
|
attach eca at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/if_eca.c eca needs-flag
|
|
|
|
file arch/acorn26/ioc/if_eca_fiq.S eca
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# On-board Rockwell 6551 serial (usually at bank 3 irq 10/1)
|
|
|
|
device rs: tty
|
|
|
|
attach rs at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/acorn26/rscons.c rs needs-flag
|
2000-05-10 01:55:44 +04:00
|
|
|
|
2001-04-22 19:26:07 +04:00
|
|
|
# On-board printer port (usually at bank 5 addr 0x10 irq 0/2)
|
|
|
|
device arcpp
|
|
|
|
attach arcpp at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/ioc/arcpp.c arcpp needs-flag
|
2001-04-22 19:26:07 +04:00
|
|
|
|
2001-07-04 17:49:24 +04:00
|
|
|
|
2000-05-10 01:55:44 +04:00
|
|
|
# Podule interface (podules listed later) (usually at bank 4 irq 13 fiq 6)
|
|
|
|
# Unix backplanes also use bank 6
|
|
|
|
# MEMC podules also use the iobus directly
|
|
|
|
device unixbp
|
|
|
|
attach unixbp at ioc
|
2001-12-22 01:41:18 +03:00
|
|
|
|
|
|
|
# NB: files.podulebus must come after unixbp is defined, to get the
|
|
|
|
# attachments in the right order.
|
|
|
|
include "dev/podulebus/files.podulebus"
|
2000-05-10 01:55:44 +04:00
|
|
|
attach podulebus at ioc
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/podulebus/podulebus.c podulebus
|
|
|
|
file arch/acorn26/podulebus/podloader_asm.S podloader needs-flag
|
|
|
|
file arch/acorn26/podulebus/unixbp.c unixbp needs-flag
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# Acorn ST506 interface (usually at bank 5 irq 11, or sometimes on a podule)
|
|
|
|
device hdc { drive = -1 }
|
|
|
|
attach hdc at ioc with hdc_ioc
|
|
|
|
attach hdc at podulebus with hdc_podulebus
|
|
|
|
device hd: disk
|
|
|
|
attach hd at hdc
|
|
|
|
|
|
|
|
# VIDC/MEMC audio/video subsystems.
|
2001-01-23 03:27:44 +03:00
|
|
|
device arcvideo: rasops1, rasops2, rasops4, rasops8, wsemuldisplaydev
|
2000-05-10 01:55:44 +04:00
|
|
|
attach arcvideo at root
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/vidc/arcvideo.c arcvideo needs-flag
|
2000-05-10 01:55:44 +04:00
|
|
|
|
2002-04-22 13:41:19 +04:00
|
|
|
device arcaudio: audiobus
|
2000-05-10 01:55:44 +04:00
|
|
|
attach arcaudio at root
|
|
|
|
|
2000-08-17 03:56:08 +04:00
|
|
|
###
|
2000-05-10 01:55:44 +04:00
|
|
|
# 82C7xx Universal Peripheral Controller
|
2000-08-17 03:56:08 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# This section belongs in sys/conf/files, but some ports have their own
|
|
|
|
# "lpt" devices, so it has to stay here.
|
|
|
|
device lpt
|
|
|
|
file dev/ic/lpt.c lpt needs-flag
|
|
|
|
attach lpt at upc with lpt_upc
|
|
|
|
file dev/ic/lpt_upc.c lpt_upc
|
|
|
|
|
|
|
|
# This section belongs here
|
|
|
|
attach upc at iobus with upc_iobus
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/iobus/upc_iobus.c upc_iobus
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
###
|
|
|
|
# Assorted podules
|
|
|
|
#
|
|
|
|
|
2000-12-01 17:28:36 +03:00
|
|
|
# i-cubed EtherLAN 100, 200 and 500
|
2000-12-20 13:57:38 +03:00
|
|
|
device eh: ether, ifnet, arp, dp8390nic, podloader
|
2000-12-01 17:28:36 +03:00
|
|
|
attach eh at podulebus
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/podulebus/if_eh.c eh
|
2000-12-01 17:28:36 +03:00
|
|
|
|
2001-07-04 17:49:24 +04:00
|
|
|
# PowerROM test driver
|
|
|
|
device powerrom: podloader
|
|
|
|
attach powerrom at podulebus
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/podulebus/powerrom.c powerrom
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
# Memory disk for installation (or ROM versions?)
|
2000-12-26 22:55:52 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
2000-05-10 01:55:44 +04:00
|
|
|
|
|
|
|
####
|
|
|
|
# Other files
|
|
|
|
#
|
|
|
|
|
2001-03-04 17:38:29 +03:00
|
|
|
#file dev/cons.c
|
2000-05-10 01:55:44 +04:00
|
|
|
file dev/cninit.c
|
|
|
|
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/acorn26/db_interface.c ddb
|
|
|
|
file arch/acorn26/acorn26/db_machdep.c ddb
|
|
|
|
|
|
|
|
file arch/acorn26/acorn26/start.c
|
|
|
|
file arch/acorn26/acorn26/autoconf.c
|
|
|
|
file arch/acorn26/acorn26/bus.c
|
|
|
|
file arch/acorn26/acorn26/conf.c
|
|
|
|
file arch/acorn26/acorn26/cons_machdep.c
|
|
|
|
file arch/acorn26/acorn26/copyinout.S
|
2003-05-06 02:43:38 +04:00
|
|
|
file arch/acorn26/acorn26/cpuswitch.c
|
2002-03-24 18:45:29 +03:00
|
|
|
file arch/acorn26/acorn26/except.c
|
|
|
|
file arch/acorn26/acorn26/irq.c
|
|
|
|
file arch/acorn26/acorn26/machdep.c
|
|
|
|
file arch/acorn26/acorn26/mem.c
|
|
|
|
file arch/acorn26/acorn26/pmap.c
|
|
|
|
#file arch/acorn26/acorn26/rscons.c
|
|
|
|
file arch/acorn26/acorn26/softintr.c
|
|
|
|
file arch/acorn26/acorn26/stubs.c
|
|
|
|
file arch/acorn26/acorn26/sys_machdep.c
|
|
|
|
file arch/acorn26/acorn26/vm_machdep.c
|
|
|
|
|
|
|
|
file arch/arm/arm/disksubr.c disk
|
|
|
|
file arch/arm/arm/disksubr_acorn.c disk
|
|
|
|
file arch/arm/arm/disksubr_mbr.c disk
|
2002-09-06 17:18:43 +04:00
|
|
|
|
|
|
|
include "arch/acorn26/conf/majors.acorn26"
|