xref: /netbsd-src/sys/arch/sun2/conf/files.sun2 (revision 43c9320743f41e4af2b1bc6fe9324e5bb70466e7)
1*43c93207Smaxv#	$NetBSD: files.sun2,v 1.21 2018/12/19 13:57:50 maxv Exp $
2cce60f68Sfredette
3cce60f68Sfredette#
4cce60f68Sfredette# sun2-specific configuration info
5cce60f68Sfredette#
6cce60f68Sfredette
7cce60f68Sfredette# maxpartitions must be first item in files.${ARCH}
8cce60f68Sfredettemaxpartitions 8
9cce60f68Sfredette
10cce60f68Sfredettemaxusers 2 8 64
11cce60f68Sfredette
12cce60f68Sfredette# Standard stuff
13cce60f68Sfredettefile arch/sun2/sun2/locore2.c
14cce60f68Sfredettefile arch/sun2/sun2/machdep.c
15cce60f68Sfredettefile arch/sun2/sun2/pmap.c
16cce60f68Sfredettefile arch/sun2/sun2/control.c
17cce60f68Sfredettefile arch/sun2/sun2/db_machdep.c		ddb
18cce60f68Sfredettefile arch/sun2/sun2/db_memrw.c			ddb | kgdb
19cce60f68Sfredettefile arch/sun2/sun2/leds.c
20e225b7bdSrmindfile arch/sun2/sun2/mm_md.c
21cce60f68Sfredettefile arch/sun2/sun2/idprom.c
22666b4cf4Sfredettefile arch/sun2/sun2/promlib.c
23cce60f68Sfredettefile arch/sun2/sun2/sys_machdep.c
24cce60f68Sfredettefile arch/sun2/sun2/trap.c
25cce60f68Sfredette
26cce60f68Sfredetteinclude "arch/m68k/fpe/files.fpe"
27cce60f68Sfredette
28d2550b2bSfredette# Console support:
29d2550b2bSfredettefile arch/sun2/dev/consinit.c
30cce60f68Sfredettefile dev/cons.c
31cce60f68Sfredette
32cce60f68Sfredette#
33cce60f68Sfredette# Bus types
34cce60f68Sfredette#
35cce60f68Sfredette
36d23b794cStsutsuidevice mainbus {}
37d23b794cStsutsuiattach mainbus at root
38d23b794cStsutsui
39d23b794cStsutsui# VME support (these should be moved into arch/sun68k)
40d23b794cStsutsuiinclude "dev/vme/files.vme"
41d23b794cStsutsuidevice sun68kvme: vmebus
42d23b794cStsutsuiattach sun68kvme at mainbus
43d23b794cStsutsuifile arch/sun68k/sun68k/vme_sun68k.c           sun68kvme
44cce60f68Sfredette
45cce60f68Sfredette# On-board I/O space (required).
46cce60f68Sfredettedevice obio {addr = -1, [ipl = -1], [vect = -1]}
47cce60f68Sfredetteattach obio at mainbus
48cce60f68Sfredettefile arch/sun2/sun2/obio.c
49cce60f68Sfredette
50cce60f68Sfredette# On-board MEMory space (required).
51cce60f68Sfredettedevice obmem {addr = -1, [ipl = -1], [vect = -1]}
52cce60f68Sfredetteattach obmem at mainbus
53cce60f68Sfredettefile arch/sun2/sun2/obmem.c		obmem
54cce60f68Sfredette
55cce60f68Sfredette# MultiBus MEMory space (optional).
56cce60f68Sfredettedevice mbmem {addr = -1, [ipl = -1], [vect = -1]}
57cce60f68Sfredetteattach mbmem at mainbus
58cce60f68Sfredettefile arch/sun2/sun2/mbmem.c		mbmem
59cce60f68Sfredette
60cce60f68Sfredette# MultiBus I/O space (optional).
61666b4cf4Sfredettedevice mbio {addr = -1, [ipl = -1], [vect = -1]}
62666b4cf4Sfredetteattach mbio at mainbus
63cce60f68Sfredettefile arch/sun2/sun2/mbio.c		mbio
64cce60f68Sfredette
65cce60f68Sfredette#
66cce60f68Sfredette# Machine-independent SCSI drivers
67cce60f68Sfredette#
68cce60f68Sfredetteinclude "dev/scsipi/files.scsipi"
69cce60f68Sfredette
70cce60f68Sfredette#
71666b4cf4Sfredette# Devices, files, and attributes needed below
72cce60f68Sfredette#
73cce60f68Sfredette
74666b4cf4Sfredetteinclude "dev/sun/files.sun"
75666b4cf4Sfredette
76d2550b2bSfredettedevice zs {channel = -1}
77d2550b2bSfredettefile arch/sun2/dev/zs.c			zs needs-count
78d2550b2bSfredettefile dev/ic/z8530sc.c			zs
79d2550b2bSfredettefile arch/sun2/dev/zs_kgdb.c		kgdb
80d2550b2bSfredette
811c0b1f52Stsutsuidevice zstty {}: tty
82d2550b2bSfredetteattach zstty at zs
83d2550b2bSfredettefile dev/ic/z8530tty.c			zstty needs-flag
84d2550b2bSfredette
85666b4cf4Sfredettefile arch/sun2/dev/zs_any.c		zs_obio | zs_obmem | zs_mbmem
86666b4cf4Sfredettefile arch/sun2/dev/bwtwo_any.c		bwtwo_obio | bwtwo_obmem
87cce60f68Sfredette
88cce60f68Sfredette#
89cce60f68Sfredette# On-Board I/O (OBIO), in attach order.
90cce60f68Sfredette# The following are all required.
91cce60f68Sfredette#
92cce60f68Sfredette
93cce60f68Sfredette# Zilog Serial (ZS)
94cce60f68Sfredetteattach zs at obio with zs_obio
95cce60f68Sfredette
96666b4cf4Sfredette# AMD timer
97cce60f68Sfredettedevice clock
98cce60f68Sfredetteattach clock at obio
99cce60f68Sfredettefile arch/sun2/sun2/clock.c
100cce60f68Sfredette
101cce60f68Sfredette# National Semiconductor Time-Of-Day clock
102666b4cf4Sfredettedevice tod: mm58167
103e702f4a8Sfredetteattach tod at obio with tod_obio
104e702f4a8Sfredetteattach tod at vme with tod_vme
105cce60f68Sfredettefile arch/sun2/sun2/tod.c
106cce60f68Sfredette
107cce60f68Sfredette# These are optional:
108cce60f68Sfredette
109cce60f68Sfredette# Intel Ethernet
110cce60f68Sfredetteattach ie at obio with ie_obio
111e702f4a8Sfredettefile arch/sun2/dev/if_ie_obio.c		ie_obio
112666b4cf4Sfredette
113666b4cf4Sfredetteattach bwtwo at obio with bwtwo_obio
114cce60f68Sfredette
115cce60f68Sfredette#
116cce60f68Sfredette# On-Board MEMory (OBMEM)
117cce60f68Sfredette#
118cce60f68Sfredette
119666b4cf4Sfredetteattach zs at obmem with zs_obmem
120666b4cf4Sfredette
121666b4cf4Sfredetteattach bwtwo at obmem with bwtwo_obmem
122cce60f68Sfredette
123cce60f68Sfredette#
124cce60f68Sfredette# MultiBus MEMory (MBMEM)
125cce60f68Sfredette#
126cce60f68Sfredette
127666b4cf4Sfredetteattach zs at mbmem with zs_mbmem
128666b4cf4Sfredette
129cce60f68Sfredetteattach ie at mbmem with ie_mbmem
130cce60f68Sfredettefile arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
131cce60f68Sfredette
132c1d17391Sfredetteattach sc at mbmem with sc_mbmem
133c1d17391Sfredettefile arch/sun2/dev/sc_mbmem.c		sc_mbmem
134cce60f68Sfredette
135e702f4a8Sfredette# 3Com Ethernet
136e702f4a8Sfredettedevice	ec: ifnet, ether, arp
137e702f4a8Sfredetteattach	ec at mbmem
138e702f4a8Sfredettefile	arch/sun2/dev/if_ec.c		ec
139e702f4a8Sfredette
140cce60f68Sfredette#
141cce60f68Sfredette# Console (zs) related stuff
142cce60f68Sfredette#
143cce60f68Sfredette
144d2550b2bSfredettedevice pcons
145d2550b2bSfredetteattach pcons at mainbus
146d2550b2bSfredettefile	arch/sun2/dev/pcons.c		pcons needs-flag
147d2550b2bSfredette
148d2550b2bSfredettefile arch/sun2/dev/kd.c			kbd
149cce60f68Sfredette
150191626f7Suweattach kbd at zstty with kbd_tty
151191626f7Suwefile dev/sun/kbdsun.c			kbd_tty
152191626f7Suwefile dev/sun/sunkbd.c			kbd_tty
153191626f7Suwe
154191626f7Suweattach ms at zstty with ms_tty
155191626f7Suwefile dev/sun/sunms.c			ms_tty
156cce60f68Sfredette
157cce60f68Sfredette# Memory Disk for boot tape
158e702f4a8Sfredettefile dev/md_root.c			memory_disk_hooks
159cce60f68Sfredette
160cce60f68Sfredette# Compatibility modules
161cce60f68Sfredette
162e702f4a8Sfredette# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
163e702f4a8Sfredetteinclude "compat/aoutm68k/files.aoutm68k"
164e702f4a8Sfredette
165cce60f68Sfredette# SunOS Binary Compatibility (COMPAT_SUNOS)
166cce60f68Sfredetteinclude "compat/sunos/files.sunos"
167cce60f68Sfredettefile arch/m68k/m68k/sunos_machdep.c	compat_sunos
168cce60f68Sfredette
169cce60f68Sfredette# Linux binary compatibility (COMPAT_LINUX)
170cce60f68Sfredetteinclude "compat/linux/files.linux"
171cce60f68Sfredetteinclude "compat/linux/arch/m68k/files.linux_m68k"
1720f380facSchristosfile arch/m68k/m68k/linux_trap.c	compat_linux
173cce60f68Sfredette
174cce60f68Sfredette# OSS audio driver compatibility
175cce60f68Sfredetteinclude "compat/ossaudio/files.ossaudio"
176cce60f68Sfredette
17777a6b82bSgehennainclude "arch/sun2/conf/majors.sun2"
178