2001-11-20 15:56:17 +03:00
|
|
|
# $NetBSD: files.sun3,v 1.62 2001/11/20 12:56:41 lukem Exp $
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# sun3-specific configuration info
|
|
|
|
#
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# maxpartitions must be first item in files.${ARCH}
|
1995-05-25 00:29:16 +04:00
|
|
|
maxpartitions 8
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
maxusers 2 8 64
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Standard stuff (Sun3-specific)
|
|
|
|
file arch/sun3/sun3/bus_subr.c _sun3_
|
|
|
|
file arch/sun3/sun3/cache.c _sun3_ & havecache
|
|
|
|
file arch/sun3/sun3/control.c _sun3_
|
|
|
|
file arch/sun3/sun3/ctrlsp.S _sun3_
|
|
|
|
file arch/sun3/sun3/dvma.c _sun3_
|
|
|
|
file arch/sun3/sun3/enable.c _sun3_
|
|
|
|
file arch/sun3/sun3/locore2.c _sun3_
|
|
|
|
file arch/sun3/sun3/machdep.c _sun3_
|
|
|
|
file arch/sun3/sun3/mem.c _sun3_
|
|
|
|
file arch/sun3/sun3/pmap.c _sun3_
|
|
|
|
|
|
|
|
# Standard stuff (Sun3X-specific)
|
|
|
|
file arch/sun3/sun3x/bus_subr.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/dvma.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/enable.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/locore2.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/machdep.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/mem.c _sun3x_
|
|
|
|
file arch/sun3/sun3x/pmap.c _sun3x_
|
|
|
|
|
|
|
|
# Standard stuff (common to Sun3 and Sun3X)
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/sun3/autoconf.c
|
1997-01-27 19:11:11 +03:00
|
|
|
file arch/sun3/sun3/conf.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/sun3/db_machdep.c ddb
|
2001-11-20 15:56:17 +03:00
|
|
|
file arch/sun3/sun3/db_memrw.c ddb | kgdb
|
1997-01-27 19:11:11 +03:00
|
|
|
file arch/sun3/sun3/disksubr.c
|
1996-03-26 18:15:46 +03:00
|
|
|
file arch/sun3/sun3/fpu.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/sun3/isr.c
|
1997-02-13 21:14:31 +03:00
|
|
|
file arch/sun3/sun3/kgdb_machdep.c kgdb
|
1997-03-19 01:21:50 +03:00
|
|
|
file arch/sun3/sun3/leds.c
|
2001-01-17 03:07:18 +03:00
|
|
|
file arch/sun3/sun3/procfs_machdep.c procfs
|
1997-01-27 19:11:11 +03:00
|
|
|
file arch/sun3/sun3/stub.c
|
|
|
|
file arch/sun3/sun3/sunmon.c
|
1995-09-26 07:01:53 +03:00
|
|
|
file arch/sun3/sun3/sys_machdep.c
|
1997-01-27 19:11:11 +03:00
|
|
|
file arch/sun3/sun3/trap.c
|
|
|
|
file arch/sun3/sun3/vector.c
|
|
|
|
file arch/sun3/sun3/vm_machdep.c
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1996-10-08 22:03:00 +04:00
|
|
|
include "arch/m68k/fpe/files.fpe"
|
1996-01-30 03:35:28 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Console support
|
|
|
|
#file arch/sun3/sun3/cninit.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file dev/cons.c
|
|
|
|
|
1996-03-26 18:15:46 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# Bus types
|
|
|
|
#
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device mainbus {}
|
1996-03-26 18:15:46 +03:00
|
|
|
attach mainbus at root
|
1998-02-05 07:56:24 +03:00
|
|
|
file arch/sun3/sun3/mainbus.c
|
1996-03-26 18:15:46 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# On-board I/O space (required).
|
1998-02-17 01:12:45 +03:00
|
|
|
device obio {addr = -1, [ipl = -1], [vect = -1]}
|
1996-03-17 05:00:30 +03:00
|
|
|
attach obio at mainbus
|
1998-02-05 07:56:24 +03:00
|
|
|
file arch/sun3/sun3/obio.c _sun3_
|
|
|
|
file arch/sun3/sun3x/obio.c _sun3x_
|
1996-03-26 18:15:46 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# On-board MEMory space (optional).
|
1998-02-17 01:12:45 +03:00
|
|
|
device obmem {addr = -1, [ipl = -1], [vect = -1]}
|
1996-03-26 18:15:46 +03:00
|
|
|
attach obmem at mainbus
|
1998-02-05 07:56:24 +03:00
|
|
|
file arch/sun3/sun3/obmem.c obmem
|
1996-03-26 18:15:46 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# VME (unit encodes address/data sizes)
|
1998-02-17 01:12:45 +03:00
|
|
|
device vme {addr = -1, [ipl = -1], [vect = -1]}
|
1998-02-05 07:56:24 +03:00
|
|
|
attach vme at mainbus
|
|
|
|
file arch/sun3/sun3/vme.c vme
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
#
|
1995-10-11 00:25:29 +03:00
|
|
|
# Machine-independent SCSI drivers
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
1999-07-09 06:32:28 +04:00
|
|
|
include "dev/scsipi/files.scsipi"
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1997-10-17 06:59:05 +04:00
|
|
|
#
|
|
|
|
# Devices and attributes needed below
|
|
|
|
#
|
1998-02-05 07:56:24 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device ie: ifnet, ether, arp
|
1997-10-17 06:59:05 +04:00
|
|
|
file arch/sun3/dev/if_ie.c ie
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device si: scsi, ncr5380sbc
|
1997-10-17 06:59:05 +04:00
|
|
|
file arch/sun3/dev/si.c si
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
define fb
|
|
|
|
file arch/sun3/dev/fb.c fb needs-flag
|
1997-10-17 06:59:05 +04:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
1998-02-05 07:56:24 +03:00
|
|
|
# On-Board I/O (OBIO), in attach order.
|
|
|
|
# The following are all required.
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
1998-02-05 07:56:24 +03:00
|
|
|
|
|
|
|
# The IDPROM could have a device config line, but this
|
|
|
|
# driver has to do its initialization before autoconfig,
|
|
|
|
# and there is nothing left to do at attach time.
|
|
|
|
file arch/sun3/sun3/idprom.c _sun3_
|
|
|
|
file arch/sun3/sun3x/idprom.c _sun3x_
|
|
|
|
|
|
|
|
# Interrupt register
|
1998-02-17 01:12:45 +03:00
|
|
|
device intreg
|
1998-02-05 07:56:24 +03:00
|
|
|
attach intreg at obio
|
|
|
|
file arch/sun3/sun3/intreg.c intreg
|
|
|
|
|
|
|
|
# Memory error register
|
1998-02-17 01:12:45 +03:00
|
|
|
device memerr
|
1998-02-05 07:56:24 +03:00
|
|
|
attach memerr at obio
|
|
|
|
file arch/sun3/dev/memerr.c memerr
|
|
|
|
|
|
|
|
# Zilog Serial (ZS)
|
1998-02-17 01:12:45 +03:00
|
|
|
device zsc {channel = -1}
|
1996-03-26 18:15:46 +03:00
|
|
|
attach zsc at obio
|
|
|
|
file arch/sun3/dev/zs.c zsc needs-flag
|
|
|
|
file dev/ic/z8530sc.c zsc
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Intersil or Mostek clock
|
1998-02-17 01:12:45 +03:00
|
|
|
device clock
|
1998-02-05 07:56:24 +03:00
|
|
|
attach clock at obio
|
1998-02-17 01:12:45 +03:00
|
|
|
device oclock
|
1998-02-05 07:56:24 +03:00
|
|
|
attach oclock at obio
|
|
|
|
file arch/sun3/sun3/clock.c _sun3_
|
|
|
|
file arch/sun3/sun3x/clock.c _sun3x_
|
|
|
|
file dev/clock_subr.c
|
|
|
|
|
|
|
|
# EEPROM (or NV-RAM)
|
1998-02-17 01:12:45 +03:00
|
|
|
device eeprom
|
1996-03-17 05:00:30 +03:00
|
|
|
attach eeprom at obio
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/dev/eeprom.c eeprom
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# I/O MMU (a.k.a I/O mapper)
|
1998-02-17 01:12:45 +03:00
|
|
|
device iommu
|
1998-02-05 07:56:24 +03:00
|
|
|
attach iommu at obio
|
|
|
|
file arch/sun3/sun3x/iommu.c _sun3x_
|
1996-03-26 18:15:46 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
#
|
|
|
|
# Optional OBIO devices
|
|
|
|
#
|
1996-03-26 18:15:46 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# device defined above
|
1996-03-26 18:15:46 +03:00
|
|
|
attach ie at obio with ie_obio
|
|
|
|
file arch/sun3/dev/if_ie_obio.c ie_obio
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1996-05-07 05:30:18 +04:00
|
|
|
# device defined in sys/conf/files
|
1998-07-21 21:36:01 +04:00
|
|
|
attach le at obio: le24
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/dev/if_le.c le
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Sun3/60 on-board SCSI
|
1996-03-26 18:15:46 +03:00
|
|
|
attach si at obio with si_obio
|
|
|
|
file arch/sun3/dev/si_obio.c si_obio
|
1996-01-25 01:39:48 +03:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# Sun3/80 on-board SCSI
|
|
|
|
attach esp at obio
|
|
|
|
file arch/sun3/dev/esp.c esp
|
1999-04-08 08:37:00 +04:00
|
|
|
device dma
|
|
|
|
attach dma at obio
|
|
|
|
file arch/sun3/dev/dma.c dma | esp
|
1998-02-05 07:56:24 +03:00
|
|
|
|
|
|
|
# Sun3/80 Floppy disk
|
1998-02-17 01:12:45 +03:00
|
|
|
device fdc {}
|
1998-02-05 07:56:24 +03:00
|
|
|
attach fdc at obio
|
1998-02-17 01:12:45 +03:00
|
|
|
device fd: disk
|
1998-02-05 07:56:24 +03:00
|
|
|
attach fd at fdc
|
|
|
|
file arch/sun3/dev/fd.c fdc | fd needs-flag
|
|
|
|
|
|
|
|
# Sun3/80 printer port
|
1998-02-17 01:12:45 +03:00
|
|
|
device pp
|
1998-02-05 07:56:24 +03:00
|
|
|
attach pp at obio
|
|
|
|
file arch/sun3/dev/pp.c pp needs-flag
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
|
|
|
# On-Board MEMory (OBMEM)
|
1993-06-25 14:26:08 +04:00
|
|
|
#
|
1998-02-05 07:56:24 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device bwtwo: fb
|
1996-03-17 05:00:30 +03:00
|
|
|
attach bwtwo at obmem
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/dev/bw2.c bwtwo needs-flag
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgfour: fb
|
1996-03-17 05:00:30 +03:00
|
|
|
attach cgfour at obmem
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/sun3/dev/cg4.c cgfour needs-flag
|
|
|
|
|
1995-10-09 02:38:41 +03:00
|
|
|
#
|
1998-02-05 07:56:24 +03:00
|
|
|
# VME
|
1995-10-09 02:38:41 +03:00
|
|
|
#
|
1997-10-17 06:59:05 +04:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
attach ie at vme with ie_vme
|
|
|
|
file arch/sun3/dev/if_ie_vme.c ie_vme
|
1997-10-17 06:59:05 +04:00
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
attach si at vme with si_vme
|
|
|
|
file arch/sun3/dev/si_vme.c si_vme
|
|
|
|
|
|
|
|
# Sun3/E SCSI+Ethernet board
|
1998-02-17 01:12:45 +03:00
|
|
|
device sebuf {}
|
1998-02-05 07:56:24 +03:00
|
|
|
attach sebuf at vme
|
1997-10-17 06:59:05 +04:00
|
|
|
file arch/sun3/dev/sebuf.c sebuf
|
|
|
|
attach ie at sebuf with ie_sebuf
|
1998-02-05 07:56:24 +03:00
|
|
|
file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
|
1997-10-17 06:59:05 +04:00
|
|
|
attach si at sebuf with si_sebuf
|
|
|
|
file arch/sun3/dev/si_sebuf.c si_sebuf
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device cgtwo: fb
|
1998-02-05 07:56:24 +03:00
|
|
|
attach cgtwo at vme
|
1997-10-17 06:59:05 +04:00
|
|
|
file arch/sun3/dev/cg2.c cgtwo needs-flag
|
1995-10-09 02:38:41 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device xyc {drive = -1}
|
1998-02-05 07:56:24 +03:00
|
|
|
attach xyc at vme
|
1998-02-17 01:12:45 +03:00
|
|
|
device xy: disk
|
1996-03-17 05:00:30 +03:00
|
|
|
attach xy at xyc
|
1998-07-24 03:45:24 +04:00
|
|
|
file arch/sun3/dev/xy.c xy | xyc needs-flag
|
1995-10-09 02:38:41 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device xdc {drive = -1}
|
1998-02-05 07:56:24 +03:00
|
|
|
attach xdc at vme
|
1998-02-17 01:12:45 +03:00
|
|
|
device xd: disk
|
1997-10-17 06:59:05 +04:00
|
|
|
attach xd at xdc
|
1998-07-24 03:45:24 +04:00
|
|
|
file arch/sun3/dev/xd.c xd | xdc needs-flag
|
1997-10-17 06:59:05 +04:00
|
|
|
|
1995-10-09 02:38:41 +03:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#
|
|
|
|
# Console (zs) related stuff
|
|
|
|
#
|
1996-01-25 01:39:48 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device zstty: tty
|
1996-03-17 05:00:30 +03:00
|
|
|
attach zstty at zsc
|
1996-01-25 01:39:48 +03:00
|
|
|
file dev/ic/z8530tty.c zstty needs-flag
|
1996-02-16 23:04:36 +03:00
|
|
|
file arch/sun3/dev/zs_kgdb.c kgdb
|
1996-01-25 01:39:48 +03:00
|
|
|
|
|
|
|
define zsevent
|
|
|
|
file dev/sun/event.c zsevent
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device kbd: zsevent
|
1999-05-14 10:42:02 +04:00
|
|
|
attach kbd at zsc with kbd_zs
|
|
|
|
file dev/sun/kbd_zs.c kbd_zs
|
1996-01-25 01:39:48 +03:00
|
|
|
file dev/sun/kbd.c kbd needs-flag
|
|
|
|
file dev/sun/kbd_tables.c kbd
|
|
|
|
file arch/sun3/dev/kd.c kbd
|
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device ms: zsevent
|
1999-05-14 10:42:02 +04:00
|
|
|
attach ms at zsc with ms_zs
|
|
|
|
file dev/sun/ms_zs.c ms_zs
|
1996-01-25 01:39:48 +03:00
|
|
|
file dev/sun/ms.c ms needs-flag
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1996-12-29 02:27:00 +03:00
|
|
|
# Memory Disk for boot tape
|
2000-11-03 08:52:42 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
1998-02-05 07:56:24 +03:00
|
|
|
|
|
|
|
# Compatibility modules
|
|
|
|
|
2001-02-22 10:11:08 +03:00
|
|
|
# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
|
|
|
|
include "compat/aoutm68k/files.aoutm68k"
|
|
|
|
|
1998-02-05 07:56:24 +03:00
|
|
|
# SunOS Binary Compatibility (COMPAT_SUNOS)
|
1999-04-16 15:13:38 +04:00
|
|
|
include "compat/sunos/files.sunos"
|
1998-02-05 07:56:24 +03:00
|
|
|
file arch/m68k/m68k/sunos_machdep.c compat_sunos
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1999-04-20 01:22:56 +04:00
|
|
|
# SVR4 Binary Compatibility (COMPAT_SVR4)
|
|
|
|
include "compat/svr4/files.svr4"
|
|
|
|
|
1998-12-15 22:36:36 +03:00
|
|
|
# Linux binary compatibility (COMPAT_LINUX)
|
|
|
|
include "compat/linux/files.linux"
|
|
|
|
include "compat/linux/arch/m68k/files.linux_m68k"
|
2001-06-18 06:00:48 +04:00
|
|
|
file arch/m68k/m68k/linux_trap.c compat_linux
|
1998-12-15 22:36:36 +03:00
|
|
|
|
|
|
|
# OSS audio driver compatibility
|
|
|
|
include "compat/ossaudio/files.ossaudio"
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# Major numbers for root/swap device configuration
|
1995-10-09 02:38:41 +03:00
|
|
|
major {xy=3} # Xylogics 450 and 451
|
1995-06-10 01:53:27 +04:00
|
|
|
major {sd=7} # SCSI disk
|
1995-10-09 02:38:41 +03:00
|
|
|
major {xd=10} # Xylogics 7053
|
1996-12-29 02:27:00 +03:00
|
|
|
major {md=13} # Memory disk (for mini-kernel)
|
2000-03-14 18:56:51 +03:00
|
|
|
major {raid=25} # RAIDframe
|