2001-04-18 19:09:47 +04:00
|
|
|
# $NetBSD: files.sun2,v 1.3 2001/04/18 15:09:47 fredette Exp $
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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/ctrlsp.S
|
|
|
|
file arch/sun2/sun2/mem.c
|
|
|
|
file arch/sun2/sun2/autoconf.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/disksubr.c
|
|
|
|
file arch/sun2/sun2/fpu.c
|
|
|
|
file arch/sun2/sun2/isr.c
|
|
|
|
file arch/sun2/sun2/kgdb_machdep.c kgdb
|
|
|
|
file arch/sun2/sun2/leds.c
|
|
|
|
file arch/sun2/sun2/idprom.c
|
|
|
|
file arch/sun2/sun2/stub.c
|
2001-04-06 21:17:58 +04:00
|
|
|
file arch/sun2/sun2/promlib.c
|
2001-03-30 01:07:56 +04:00
|
|
|
file arch/sun2/sun2/sys_machdep.c
|
|
|
|
file arch/sun2/sun2/trap.c
|
|
|
|
file arch/sun2/sun2/vector.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
|
|
|
|
#
|
|
|
|
|
|
|
|
device mainbus {}
|
|
|
|
attach mainbus at root
|
|
|
|
|
|
|
|
# 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).
|
2001-04-06 21:17:58 +04:00
|
|
|
device mbio {addr = -1, [ipl = -1], [vect = -1]}
|
|
|
|
attach mbio at mainbus
|
2001-03-30 01:07:56 +04:00
|
|
|
file arch/sun2/sun2/mbio.c mbio
|
|
|
|
|
|
|
|
# VME
|
|
|
|
include "dev/vme/files.vme"
|
|
|
|
device sun2vme: vmebus
|
|
|
|
attach sun2vme at mainbus with vme_mainbus
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
|
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
|
|
|
|
#
|
2001-04-06 21:17:58 +04:00
|
|
|
# Devices, files, and attributes needed below
|
2001-03-30 01:07:56 +04:00
|
|
|
#
|
|
|
|
|
2001-04-18 19:09:47 +04:00
|
|
|
device sc: scsi, sunscpal
|
2001-04-06 21:17:58 +04:00
|
|
|
|
|
|
|
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
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# On-Board I/O (OBIO), in attach order.
|
|
|
|
# The following are all required.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Zilog Serial (ZS)
|
|
|
|
attach zs at obio with zs_obio
|
|
|
|
|
2001-04-06 21:17:58 +04:00
|
|
|
# AMD timer
|
2001-03-30 01:07:56 +04:00
|
|
|
device clock
|
|
|
|
attach clock at obio
|
|
|
|
file arch/sun2/sun2/clock.c
|
|
|
|
file dev/clock_subr.c
|
|
|
|
|
|
|
|
# National Semiconductor Time-Of-Day clock
|
2001-04-06 21:17:58 +04:00
|
|
|
device tod: mm58167
|
2001-03-30 01:07:56 +04:00
|
|
|
attach tod at obio
|
|
|
|
file arch/sun2/sun2/tod.c
|
|
|
|
|
|
|
|
# These are optional:
|
|
|
|
|
|
|
|
# Intel Ethernet
|
|
|
|
attach ie at obio with ie_obio
|
2001-04-06 21:17:58 +04:00
|
|
|
#file arch/sun2/dev/if_ie_obio.c ie_obio
|
|
|
|
|
|
|
|
attach bwtwo at obio with bwtwo_obio
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# On-Board MEMory (OBMEM)
|
|
|
|
#
|
|
|
|
|
2001-04-06 21:17:58 +04:00
|
|
|
attach zs at obmem with zs_obmem
|
|
|
|
|
|
|
|
attach bwtwo at obmem with bwtwo_obmem
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# MultiBus MEMory (MBMEM)
|
|
|
|
#
|
|
|
|
|
2001-04-06 21:17:58 +04:00
|
|
|
attach zs at mbmem with zs_mbmem
|
|
|
|
|
2001-03-30 01:07:56 +04:00
|
|
|
attach ie at mbmem with ie_mbmem
|
2001-04-06 21:17:58 +04:00
|
|
|
file arch/sun2/dev/if_ie_mbmem.c ie_mbmem
|
2001-03-30 01:07:56 +04:00
|
|
|
|
2001-04-18 19:09:47 +04:00
|
|
|
attach sc at mbmem with sc_mbmem
|
|
|
|
file arch/sun2/dev/sc_mbmem.c sc_mbmem
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Console (zs) related stuff
|
|
|
|
#
|
|
|
|
|
|
|
|
device zstty: tty
|
|
|
|
attach zstty at zs
|
|
|
|
file dev/ic/z8530tty.c zstty needs-flag
|
2001-04-06 21:17:58 +04:00
|
|
|
file dev/sun/zs_kgdb.c kgdb
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
define zsevent
|
2001-04-06 21:17:58 +04:00
|
|
|
#file dev/sun/event.c zsevent
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
device kbd: zsevent
|
|
|
|
attach kbd at zs with kbd_zs
|
|
|
|
file dev/sun/kbd_zs.c kbd_zs
|
|
|
|
file dev/sun/kbd.c kbd needs-flag
|
|
|
|
file dev/sun/kbd_tables.c kbd
|
2001-04-06 21:17:58 +04:00
|
|
|
file dev/sun/kd.c kbd
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
device ms: zsevent
|
|
|
|
attach ms at zs with ms_zs
|
|
|
|
file dev/sun/ms_zs.c ms_zs
|
|
|
|
file dev/sun/ms.c ms needs-flag
|
|
|
|
|
|
|
|
# Memory Disk for boot tape
|
2001-04-06 21:17:58 +04:00
|
|
|
#file arch/sun2/dev/md_root.c memory_disk_hooks
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
# Compatibility modules
|
|
|
|
|
|
|
|
# SunOS Binary Compatibility (COMPAT_SUNOS)
|
|
|
|
include "compat/sunos/files.sunos"
|
2001-04-06 21:17:58 +04:00
|
|
|
file arch/m68k/m68k/sunos_machdep.c compat_sunos
|
2001-03-30 01:07:56 +04:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
|
|
|
# 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
|