files.sun2 revision 1.16
1# $NetBSD: files.sun2,v 1.16 2005/12/11 12:19:16 christos Exp $ 2 3# 4# sun2-specific configuration info 5# 6 7# maxpartitions must be first item in files.${ARCH} 8maxpartitions 8 9 10maxusers 2 8 64 11 12# Standard stuff 13file arch/sun2/sun2/locore2.c 14file arch/sun2/sun2/machdep.c 15file arch/sun2/sun2/pmap.c 16file arch/sun2/sun2/control.c 17file arch/sun2/sun2/mem.c 18file arch/sun2/sun2/db_machdep.c ddb 19file arch/sun2/sun2/db_memrw.c ddb | kgdb 20file arch/sun2/sun2/leds.c 21file arch/sun2/sun2/idprom.c 22file arch/sun2/sun2/promlib.c 23file arch/sun2/sun2/sys_machdep.c 24file arch/sun2/sun2/trap.c 25file arch/m68k/m68k/procfs_machdep.c procfs 26file arch/m68k/m68k/vm_machdep.c 27 28include "arch/m68k/fpe/files.fpe" 29 30# Console support: 31file arch/sun2/dev/consinit.c 32file dev/cons.c 33 34# 35# Bus types 36# 37 38# mainbus and VME support brought in by arch/sun68k 39 40# On-board I/O space (required). 41device obio {addr = -1, [ipl = -1], [vect = -1]} 42attach obio at mainbus 43file arch/sun2/sun2/obio.c 44 45# On-board MEMory space (required). 46device obmem {addr = -1, [ipl = -1], [vect = -1]} 47attach obmem at mainbus 48file arch/sun2/sun2/obmem.c obmem 49 50# MultiBus MEMory space (optional). 51device mbmem {addr = -1, [ipl = -1], [vect = -1]} 52attach mbmem at mainbus 53file arch/sun2/sun2/mbmem.c mbmem 54 55# MultiBus I/O space (optional). 56device mbio {addr = -1, [ipl = -1], [vect = -1]} 57attach mbio at mainbus 58file arch/sun2/sun2/mbio.c mbio 59 60# 61# Machine-independent SCSI drivers 62# 63include "dev/scsipi/files.scsipi" 64 65# 66# Devices, files, and attributes needed below 67# 68 69include "dev/sun/files.sun" 70 71device zs {channel = -1} 72file arch/sun2/dev/zs.c zs needs-count 73file dev/ic/z8530sc.c zs 74file arch/sun2/dev/zs_kgdb.c kgdb 75 76device zstty {}: tty 77attach zstty at zs 78file dev/ic/z8530tty.c zstty needs-flag 79 80file arch/sun2/dev/zs_any.c zs_obio | zs_obmem | zs_mbmem 81file arch/sun2/dev/bwtwo_any.c bwtwo_obio | bwtwo_obmem 82 83# 84# On-Board I/O (OBIO), in attach order. 85# The following are all required. 86# 87 88# Zilog Serial (ZS) 89attach zs at obio with zs_obio 90 91# AMD timer 92device clock 93attach clock at obio 94file arch/sun2/sun2/clock.c 95 96# National Semiconductor Time-Of-Day clock 97device tod: mm58167 98attach tod at obio with tod_obio 99attach tod at vme with tod_vme 100file arch/sun2/sun2/tod.c 101 102# These are optional: 103 104# Intel Ethernet 105attach ie at obio with ie_obio 106file arch/sun2/dev/if_ie_obio.c ie_obio 107 108attach bwtwo at obio with bwtwo_obio 109 110# 111# On-Board MEMory (OBMEM) 112# 113 114attach zs at obmem with zs_obmem 115 116attach bwtwo at obmem with bwtwo_obmem 117 118# 119# MultiBus MEMory (MBMEM) 120# 121 122attach zs at mbmem with zs_mbmem 123 124attach ie at mbmem with ie_mbmem 125file arch/sun2/dev/if_ie_mbmem.c ie_mbmem 126 127attach sc at mbmem with sc_mbmem 128file arch/sun2/dev/sc_mbmem.c sc_mbmem 129 130# 3Com Ethernet 131device ec: ifnet, ether, arp 132attach ec at mbmem 133file arch/sun2/dev/if_ec.c ec 134 135# 136# Console (zs) related stuff 137# 138 139device pcons 140attach pcons at mainbus 141file arch/sun2/dev/pcons.c pcons needs-flag 142 143file arch/sun2/dev/kd.c kbd 144 145attach kbd at zstty with kbd_tty 146file dev/sun/kbdsun.c kbd_tty 147file dev/sun/sunkbd.c kbd_tty 148 149attach ms at zstty with ms_tty 150file dev/sun/sunms.c ms_tty 151 152# Memory Disk for boot tape 153file dev/md_root.c memory_disk_hooks 154 155# 156# wscons 157# 158 159include "dev/wscons/files.wscons" 160include "dev/wsfont/files.wsfont" 161 162# Compatibility modules 163 164# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 165include "compat/aoutm68k/files.aoutm68k" 166 167# SunOS Binary Compatibility (COMPAT_SUNOS) 168include "compat/sunos/files.sunos" 169file arch/m68k/m68k/sunos_machdep.c compat_sunos 170 171# SVR4 Binary Compatibility (COMPAT_SVR4) 172include "compat/svr4/files.svr4" 173 174# Linux binary compatibility (COMPAT_LINUX) 175include "compat/linux/files.linux" 176include "compat/linux/arch/m68k/files.linux_m68k" 177file arch/m68k/m68k/linux_trap.c compat_linux 178 179# OSS audio driver compatibility 180include "compat/ossaudio/files.ossaudio" 181 182include "arch/sun2/conf/majors.sun2" 183