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