NetBSD/sys/arch/sun2/conf/files.sun2

172 lines
3.7 KiB
Plaintext

# $NetBSD: files.sun2,v 1.5 2001/06/27 16:57:57 fredette Exp $
#
# sun2-specific configuration info
#
# maxpartitions must be first item in files.${ARCH}
maxpartitions 8
maxusers 2 8 64
# Standard stuff
file arch/sun2/sun2/locore2.c
file arch/sun2/sun2/machdep.c
file arch/sun2/sun2/pmap.c
file arch/sun2/sun2/control.c
file arch/sun2/sun2/mem.c
file arch/sun2/sun2/conf.c
file arch/sun2/sun2/db_machdep.c ddb
file arch/sun2/sun2/db_memrw.c ddb | kgdb
file arch/sun2/sun2/leds.c
file arch/sun2/sun2/idprom.c
file arch/sun2/sun2/promlib.c
file arch/sun2/sun2/sys_machdep.c
file arch/sun2/sun2/trap.c
file arch/sun2/sun2/vm_machdep.c
include "arch/m68k/fpe/files.fpe"
# Console support
#file arch/sun2/sun2/cninit.c
file dev/cons.c
#
# Bus types
#
# mainbus and VME support brought in by arch/sun68k
# On-board I/O space (required).
device obio {addr = -1, [ipl = -1], [vect = -1]}
attach obio at mainbus
file arch/sun2/sun2/obio.c
# On-board MEMory space (required).
device obmem {addr = -1, [ipl = -1], [vect = -1]}
attach obmem at mainbus
file arch/sun2/sun2/obmem.c obmem
# MultiBus MEMory space (optional).
device mbmem {addr = -1, [ipl = -1], [vect = -1]}
attach mbmem at mainbus
file arch/sun2/sun2/mbmem.c mbmem
# MultiBus I/O space (optional).
device mbio {addr = -1, [ipl = -1], [vect = -1]}
attach mbio at mainbus
file arch/sun2/sun2/mbio.c mbio
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
#
# Devices, files, and attributes needed below
#
include "dev/sun/files.sun"
file arch/sun2/dev/zs_any.c zs_obio | zs_obmem | zs_mbmem
file arch/sun2/dev/bwtwo_any.c bwtwo_obio | bwtwo_obmem
#
# On-Board I/O (OBIO), in attach order.
# The following are all required.
#
# Zilog Serial (ZS)
attach zs at obio with zs_obio
# AMD timer
device clock
attach clock at obio
file arch/sun2/sun2/clock.c
file dev/clock_subr.c
# National Semiconductor Time-Of-Day clock
device tod: mm58167
attach tod at obio with tod_obio
attach tod at vme with tod_vme
file arch/sun2/sun2/tod.c
# These are optional:
# Intel Ethernet
attach ie at obio with ie_obio
file arch/sun2/dev/if_ie_obio.c ie_obio
attach bwtwo at obio with bwtwo_obio
#
# On-Board MEMory (OBMEM)
#
attach zs at obmem with zs_obmem
attach bwtwo at obmem with bwtwo_obmem
#
# MultiBus MEMory (MBMEM)
#
attach zs at mbmem with zs_mbmem
attach ie at mbmem with ie_mbmem
file arch/sun2/dev/if_ie_mbmem.c ie_mbmem
attach sc at mbmem with sc_mbmem
file arch/sun2/dev/sc_mbmem.c sc_mbmem
# 3Com Ethernet
device ec: ifnet, ether, arp
attach ec at mbmem
file arch/sun2/dev/if_ec.c ec
#
# Console (zs) related stuff
#
device kbd
attach kbd at zstty
file dev/sun/kbd.c kbd needs-flag
file dev/sun/kbd_tables.c kbd
file dev/sun/kd.c kbd
file dev/sun/sunkbd.c kbd needs-flag
device ms
attach ms at zstty
file dev/sun/ms.c ms needs-flag
file dev/sun/sunms.c ms needs-flag
# Memory Disk for boot tape
file dev/md_root.c memory_disk_hooks
# Compatibility modules
# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
include "compat/aoutm68k/files.aoutm68k"
# SunOS Binary Compatibility (COMPAT_SUNOS)
include "compat/sunos/files.sunos"
file arch/m68k/m68k/sunos_machdep.c compat_sunos
# SVR4 Binary Compatibility (COMPAT_SVR4)
include "compat/svr4/files.svr4"
# Linux binary compatibility (COMPAT_LINUX)
include "compat/linux/files.linux"
include "compat/linux/arch/m68k/files.linux_m68k"
file arch/m68k/m68k/linux_trap.c compat_linux
# OSS audio driver compatibility
include "compat/ossaudio/files.ossaudio"
# Major numbers for root/swap device configuration
major {xy=3} # Xylogics 450 and 451
major {sd=7} # SCSI disk
major {xd=10} # Xylogics 7053
major {md=13} # Memory disk (for mini-kernel)
major {raid=25} # RAIDframe