Now uses the sun68k common code. Changed how the keyboard

and mouse attach.  Added support for ie at obio, the ec adapter.
This commit is contained in:
fredette 2001-06-27 16:57:57 +00:00
parent 9e33b7b680
commit e702f4a813
1 changed files with 22 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sun2,v 1.4 2001/06/18 02:00:51 christos Exp $
# $NetBSD: files.sun2,v 1.5 2001/06/27 16:57:57 fredette Exp $
#
# sun2-specific configuration info
@ -14,23 +14,15 @@ 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
file arch/sun2/sun2/promlib.c
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"
@ -43,8 +35,7 @@ file dev/cons.c
# Bus types
#
device mainbus {}
attach mainbus at root
# mainbus and VME support brought in by arch/sun68k
# On-board I/O space (required).
device obio {addr = -1, [ipl = -1], [vect = -1]}
@ -66,11 +57,6 @@ device mbio {addr = -1, [ipl = -1], [vect = -1]}
attach mbio at mainbus
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
#
@ -80,8 +66,6 @@ include "dev/scsipi/files.scsipi"
# Devices, files, and attributes needed below
#
device sc: scsi, sunscpal
include "dev/sun/files.sun"
file arch/sun2/dev/zs_any.c zs_obio | zs_obmem | zs_mbmem
@ -103,14 +87,15 @@ file dev/clock_subr.c
# National Semiconductor Time-Of-Day clock
device tod: mm58167
attach tod at obio
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
file arch/sun2/dev/if_ie_obio.c ie_obio
attach bwtwo at obio with bwtwo_obio
@ -134,35 +119,35 @@ 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 zstty: tty
attach zstty at zs
file dev/ic/z8530tty.c zstty needs-flag
file dev/sun/zs_kgdb.c kgdb
define zsevent
#file dev/sun/event.c zsevent
device kbd: zsevent
attach kbd at zs with kbd_zs
file dev/sun/kbd_zs.c kbd_zs
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/kbd_tables.c kbd
file dev/sun/kd.c kbd
file dev/sun/sunkbd.c kbd needs-flag
device ms: zsevent
attach ms at zs with ms_zs
file dev/sun/ms_zs.c ms_zs
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 arch/sun2/dev/md_root.c memory_disk_hooks
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