1 # $NetBSD: files.sun2,v 1.18 2006/10/01 03:53:27 tsutsui Exp $
4 # sun2-specific configuration info
7 # maxpartitions must be first item in files.${ARCH}
13 file arch/sun2/sun2/locore2.c
14 file arch/sun2/sun2/machdep.c
15 file arch/sun2/sun2/pmap.c
16 file arch/sun2/sun2/control.c
17 file arch/sun2/sun2/mem.c
18 file arch/sun2/sun2/db_machdep.c ddb
19 file arch/sun2/sun2/db_memrw.c ddb | kgdb
20 file arch/sun2/sun2/leds.c
21 file arch/sun2/sun2/idprom.c
22 file arch/sun2/sun2/promlib.c
23 file arch/sun2/sun2/sys_machdep.c
24 file arch/sun2/sun2/trap.c
26 include "arch/m68k/fpe/files.fpe"
29 file arch/sun2/dev/consinit.c
37 attach mainbus at root
39 # VME support (these should be moved into arch/sun68k)
40 include "dev/vme/files.vme"
41 device sun68kvme: vmebus
42 attach sun68kvme at mainbus
43 file arch/sun68k/sun68k/vme_sun68k.c sun68kvme
45 # On-board I/O space (required).
46 device obio {addr = -1, [ipl = -1], [vect = -1]}
47 attach obio at mainbus
48 file arch/sun2/sun2/obio.c
50 # On-board MEMory space (required).
51 device obmem {addr = -1, [ipl = -1], [vect = -1]}
52 attach obmem at mainbus
53 file arch/sun2/sun2/obmem.c obmem
55 # MultiBus MEMory space (optional).
56 device mbmem {addr = -1, [ipl = -1], [vect = -1]}
57 attach mbmem at mainbus
58 file arch/sun2/sun2/mbmem.c mbmem
60 # MultiBus I/O space (optional).
61 device mbio {addr = -1, [ipl = -1], [vect = -1]}
62 attach mbio at mainbus
63 file arch/sun2/sun2/mbio.c mbio
66 # Machine-independent SCSI drivers
68 include "dev/scsipi/files.scsipi"
71 # Devices, files, and attributes needed below
74 include "dev/sun/files.sun"
76 device zs {channel = -1}
77 file arch/sun2/dev/zs.c zs needs-count
78 file dev/ic/z8530sc.c zs
79 file arch/sun2/dev/zs_kgdb.c kgdb
83 file dev/ic/z8530tty.c zstty needs-flag
85 file arch/sun2/dev/zs_any.c zs_obio | zs_obmem | zs_mbmem
86 file arch/sun2/dev/bwtwo_any.c bwtwo_obio | bwtwo_obmem
89 # On-Board I/O (OBIO), in attach order.
90 # The following are all required.
94 attach zs at obio with zs_obio
99 file arch/sun2/sun2/clock.c
101 # National Semiconductor Time-Of-Day clock
103 attach tod at obio with tod_obio
104 attach tod at vme with tod_vme
105 file arch/sun2/sun2/tod.c
107 # These are optional:
110 attach ie at obio with ie_obio
111 file arch/sun2/dev/if_ie_obio.c ie_obio
113 attach bwtwo at obio with bwtwo_obio
116 # On-Board MEMory (OBMEM)
119 attach zs at obmem with zs_obmem
121 attach bwtwo at obmem with bwtwo_obmem
124 # MultiBus MEMory (MBMEM)
127 attach zs at mbmem with zs_mbmem
129 attach ie at mbmem with ie_mbmem
130 file arch/sun2/dev/if_ie_mbmem.c ie_mbmem
132 attach sc at mbmem with sc_mbmem
133 file arch/sun2/dev/sc_mbmem.c sc_mbmem
136 device ec: ifnet, ether, arp
138 file arch/sun2/dev/if_ec.c ec
141 # Console (zs) related stuff
145 attach pcons at mainbus
146 file arch/sun2/dev/pcons.c pcons needs-flag
148 file arch/sun2/dev/kd.c kbd
150 attach kbd at zstty with kbd_tty
151 file dev/sun/kbdsun.c kbd_tty
152 file dev/sun/sunkbd.c kbd_tty
154 attach ms at zstty with ms_tty
155 file dev/sun/sunms.c ms_tty
157 # Memory Disk for boot tape
158 file dev/md_root.c memory_disk_hooks
160 # Compatibility modules
162 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
163 include "compat/aoutm68k/files.aoutm68k"
165 # SunOS Binary Compatibility (COMPAT_SUNOS)
166 include "compat/sunos/files.sunos"
167 file arch/m68k/m68k/sunos_machdep.c compat_sunos
169 # SVR4 Binary Compatibility (COMPAT_SVR4)
170 include "compat/svr4/files.svr4"
172 # Linux binary compatibility (COMPAT_LINUX)
173 include "compat/linux/files.linux"
174 include "compat/linux/arch/m68k/files.linux_m68k"
175 file arch/m68k/m68k/linux_trap.c compat_linux
177 # OSS audio driver compatibility
178 include "compat/ossaudio/files.ossaudio"
180 include "arch/sun2/conf/majors.sun2"