files.x68k revision 1.27
1#	$NetBSD: files.x68k,v 1.27 1999/07/07 00:05:30 thorpej Exp $
2#
3# new style config file for x68k architecture
4#
5
6defopt	opt_fpuemulate.h	FPU_EMULATE
7defopt	opt_m060sp.h		M060SP
8#defopt	opt_fpsp.h		FPSP		# this will fail...
9
10defopt	opt_jupiter.h		JUPITER
11defopt	opt_panicbutton.h	PANICBUTTON
12defopt  opt_extmem.h		EXTENDED_MEMORY
13
14# maxpartitions must be first item in files.${ARCH}.newconf
15maxpartitions 8
16
17maxusers 2 16 64
18
19device	mainbus {}
20attach	mainbus at root
21
22device	cpu
23attach	cpu at mainbus
24
25define	event {}
26file	arch/x68k/dev/event.c		event
27
28file	arch/x68k/x68k/x68k_init.c
29file	arch/x68k/x68k/autoconf.c
30file	arch/x68k/x68k/conf.c
31file	arch/x68k/x68k/disksubr.c	disk
32file	arch/x68k/x68k/machdep.c
33file	arch/x68k/x68k/mem.c
34file	arch/x68k/x68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
35file	arch/x68k/x68k/pmap.c
36file	arch/x68k/x68k/sys_machdep.c
37file	arch/x68k/x68k/trap.c
38file	arch/x68k/x68k/vm_machdep.c
39file	arch/x68k/x68k/db_memrw.c	ddb
40file	arch/x68k/x68k/fpu.c
41file	arch/x68k/x68k/bus.c
42
43file	dev/cons.c
44file	dev/cninit.c
45
46# Emulation modules
47# 6888x emulator (FPU_EMULATE)
48include "arch/m68k/fpe/files.fpe"
49
50# 68060 software support package
51include "arch/m68k/060sp/files.060sp"
52
53device	xcom: tty
54attach	xcom at mainbus
55file	arch/x68k/dev/com.c		xcom needs-count
56
57device	par
58attach	par at mainbus
59file	arch/x68k/dev/par.c		par needs-flag
60
61# graphic devices
62define	grfb {}
63
64device	grfbus: grfb
65attach	grfbus at mainbus
66
67device	grf {}
68attach	grf at grfb
69file	arch/x68k/dev/grf.c		grf needs-count
70file	arch/x68k/dev/grf_conf.c	grf|ite
71file	arch/x68k/dev/grf_machdep.c	grf|ite
72file	arch/x68k/dev/grf_tv.c		grf|ite
73file	arch/x68k/dev/grf_gv.c		grf|ite
74
75defopt	opt_ite.h	ITE_KERNEL_ATTR
76device	ite: tty
77attach	ite at grf
78file	arch/x68k/dev/ite.c		ite needs-flag
79file	arch/x68k/dev/ite_tv.c		grf|ite
80file	arch/x68k/dev/kbdmap.c		ite
81
82device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
83attach	intio at mainbus
84file	arch/x68k/dev/intio.c		intio
85
86device	xel
87attach	xel at intio
88file	arch/x68k/dev/xel.c		xel
89
90device	mfp {}
91attach	mfp at intio
92file	arch/x68k/dev/mfp.c		mfp
93
94device clock
95attach	clock at mfp
96file	arch/x68k/x68k/clock.c		clock needs-flag
97
98device kbd: event
99attach	kbd at mfp
100file	arch/x68k/dev/kbd.c		kbd needs-flag
101
102device rtc
103attach	rtc at intio
104file	arch/x68k/dev/rtclock.c		rtc
105
106device dmac
107attach	dmac at intio
108file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
109
110defopt	opt_zsc.h	ZSCONSOLE ZSCN_SPEED
111device zsc {channel = -1}
112attach zsc at intio
113file arch/x68k/dev/zs.c			zsc needs-flag
114file dev/ic/z8530sc.c			zsc
115
116device zstty: tty
117attach zstty at zsc
118file dev/ic/z8530tty.c			zstty needs-flag
119
120device ms: event
121attach ms at zsc
122file arch/x68k/dev/ms.c			ms needs-flag
123
124device	neptune {[addr = -1]}
125attach	neptune at intio
126file	arch/x68k/dev/neptune.c		neptune
127
128attach	ne at neptune with ne_neptune: rtl80x9
129file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
130
131device	opm
132attach	opm at intio
133file	arch/x68k/dev/opm.c		opm
134
135device	fdc { unit = -1 }
136attach	fdc at intio
137
138device	fd: disk
139attach	fd at fdc
140file	arch/x68k/dev/fd.c		fd needs-flag
141
142#
143# SCSI drivers
144#
145include "dev/scsipi/files.scsipi"
146major	{cd = 7}
147major	{sd = 4}
148
149device scsirom {}
150attach	scsirom at intio
151file	arch/x68k/dev/scsirom.c		scsirom
152
153device	spc: scsi
154attach	spc at scsirom with spc_intio
155file	arch/x68k/dev/spc.c		spc_intio needs-flag
156file	dev/ic/mb89352.c		spc
157
158device	mha: scsi
159attach	mha at scsirom
160file	arch/x68k/dev/mha.c		mha needs-flag
161
162defpseudo bell
163file	arch/x68k/dev/opmbell.c		bell needs-flag
164
165defpseudo sram
166file	arch/x68k/dev/sram.c		sram needs-flag
167defpseudo pow
168file	arch/x68k/dev/pow.c		pow needs-count
169
170# memory disk
171file	arch/x68k/dev/md_root.c		memory_disk_hooks
172
173include	"compat/sunos/files.sunos"
174file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
175
176# SVR4 Binary Compatibility (COMPAT_SVR4)
177include "compat/svr4/files.svr4"
178
179# Linux binary compatibility (COMPAT_LINUX)
180include "compat/linux/files.linux"
181include "compat/linux/arch/m68k/files.linux_m68k"
182
183# OSS audio driver compatibility
184include "compat/ossaudio/files.ossaudio"
185