NetBSD/sys/arch/arm26/conf/files.arm26

237 lines
6.7 KiB
Plaintext
Raw Normal View History

2000-05-10 01:55:44 +04:00
# $NetBSD: files.arm26,v 1.1 2000/05/09 21:55:58 bjh21 Exp $
# 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.
#
# 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.
# This file is part of NetBSD/arm26 -- a port of NetBSD to ARM2/3 machines.
maxpartitions 8
maxusers 2 8 64
include "dev/wscons/files.wscons"
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
include "dev/ata/files.ata"
major { wd = 4 }
include "dev/scsipi/files.scsipi"
major {sd = 5}
major {cd = 6}
# CPU
device cpu
attach cpu at root
defopt opt_cputypes.h CPU_ARM2 CPU_ARM250 CPU_ARM3
file arch/arm26/arm26/cpu.c cpu
# I/O bus (on the far side of the address and data latches)
device iobus { base = -1 }
attach iobus at root
file arch/arm26/iobus/iobus.c iobus
# 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
file arch/arm26/iobus/ioc.c ioc needs-flag
# I^2C bus (bit-banged through IOC control register)
device iic { addr = -1 }
attach iic at ioc
file arch/arm26/ioc/iic.c iic
# PCF8583 I^2C Clock/calendar/RAM
device rtc
attach rtc at iic
file arch/arm26/ioc/rtc.c rtc
file dev/clock_subr.c rtc
# I/O Extension Block (usually at ioc0 bank 5)
device ioeb { [offset = -1] }
attach ioeb at ioc
file arch/arm26/ioc/ioeb.c ioeb needs-flag
# A3010 joysticks
device joy
attach joy at ioeb
# Latches (random internal use) (usually at bank 5 offset 0x18 and 0x40)
device latch
attach latch at ioc
# On-board keyboard interface
device arckbd { }
attach arckbd at ioc
device arcwskbd: wskbddev
attach arcwskbd at arckbd
device arcwsmouse: wsmousedev
attach arcwsmouse at arckbd
file arch/arm26/ioc/arckbd.c arckbd needs-flag
file arch/arm26/ioc/arckbdmap.c arckbd
# 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}
#major {...}
# Econet module (Motorola 6854) (usually at bank 2 fiq 2)
device ec: ifnet, arp
attach ec at ioc
# On-board Rockwell 6551 serial (usually at bank 3 irq 10/1)
device rs: tty
attach rs at ioc
file arch/arm26/arm26/rscons.c rs needs-flag
# 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
# XXX How on Earth do we codify all that?
device unixbp
attach unixbp at ioc
device podulebus { [slot = -1] }
attach podulebus at ioc
file arch/arm26/podulebus/podulebus.c podulebus
file arch/arm26/podulebus/unixbp.c unixbp needs-flag
# 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
#major {hd = ?}
# On-board printer port (usually at bank 5 addr 0x10 irq 0/2)
device arclpt
attach arclpt at ioc
# VIDC/MEMC audio/video subsystems.
# XXX: should be rasops4 as well
device arcvideo: rasops1, rasops2, rasops8, wsemuldisplaydev
attach arcvideo at root
file arch/arm26/vidc/arcvideo.c arcvideo needs-flag
device arcaudio: audio
attach arcaudio at root
# 82C7xx Universal Peripheral Controller
device upc { [offset = -1] }
attach upc at iobus
attach wdc at upc with wdc_upc
device lpt
attach lpt at upc with lpt_upc
attach com at upc with com_upc
device fdc { drive }
attach fdc at upc with fdc_upc
device fd: disk
attach fd at fdc
###
# Assorted podules
#
# Acorn Ether1
device ei: ether, ifnet, arp, i82586
attach ei at podulebus
file arch/arm26/podulebus/if_ei.c ei
# Acorn/Atomwide Ether3
device ea: ether, ifnet, arp
attach ea at podulebus
file arch/arm26/podulebus/if_ea.c ea
# D.T. software IDE
device dtide {[channel = -1]}: wdc_base, ata, atapi
attach dtide at podulebus
file arch/arm26/podulebus/dtide.c dtide
# Generic sbic (WD3393) driver
define sbic
file arch/arm26/podulebus/sbic.c sbic
# Acorn SCSI I specific layer for sbic
device asc: scsi, sbic
attach asc at podulebus
file arch/arm26/podulebus/asc.c asc needs-flag
# Memory disk for installation (or ROM versions?)
file arch/arm26/arm26/md_root.c memory_disk_hooks
major { md = 1 }
####
# Other files
#
file dev/cons.c
file dev/cninit.c
file arch/arm32/arm32/in_cksum_arm32.c inet
file netinet/in4_cksum.c inet
file netns/ns_cksum.c ns
file arch/arm26/arm26/db_disasm.c ddb
file arch/arm26/arm26/db_interface.c ddb
file arch/arm26/arm26/db_machdep.c ddb
file arch/arm26/arm26/db_trace.c ddb
file arch/arm26/arm26/disksubr.c disk
file arch/arm26/arm26/disksubr_mbr.c disk
file arch/arm26/arm26/disksubr_acorn.c disk
file arch/arm26/arm26/aout_machdep.c exec_aout
file arch/arm26/arm26/start.c
file arch/arm26/arm26/autoconf.c
file arch/arm26/arm26/bus.c
file arch/arm26/arm26/conf.c
file arch/arm26/arm26/cons_machdep.c
file arch/arm26/arm26/copyinout.S
file arch/arm26/arm26/copyinoutstr.c
#file arch/arm26/arm26/copystr.S
file arch/arm26/arm26/except.c
file arch/arm26/arm26/irq.c
file arch/arm26/arm26/intrnames.S
file arch/arm26/arm26/Locore.c
file arch/arm26/arm26/machdep.c
file arch/arm26/arm26/mem.c
file arch/arm26/arm26/pmap.c
#file arch/arm26/arm26/rscons.c
#file arch/arm26/arm26/spl_machdep.c
file arch/arm26/arm26/softintr.c
file arch/arm26/arm26/stubs.c
file arch/arm26/arm26/vm_machdep.c
file arch/arm26/arm26/zeropage.S
file arch/arm32/arm32/disassem.c