files.sparc64 revision 1.30
1#	$NetBSD: files.sparc64,v 1.30 2000/06/08 21:25:18 eeh Exp $
2
3# @(#)files.sparc64	8.1 (Berkeley) 7/19/93
4# sparc64-specific configuration info
5
6# maxpartitions must be first item in files.${ARCH}
7maxpartitions 8
8
9maxusers 2 8 1024
10
11#
12# XXXXXXXXXXX
13#
14# These files must be compiled w/no omtimization in 64-bit mode
15#
16
17file net/if_ppp.c	ppp	needs-count	compile-with "${NOOPT_C}"
18file net/if_loop.c	loop	needs-count	compile-with "${NOOPT_C}"
19file net/if_sl.c	sl	needs-count	compile-with "${NOOPT_C}"
20
21#
22# XXXXXXXXXXX
23#
24
25define mainbus {}
26device mainbus: pcibus, mainbus
27attach mainbus at root
28
29device pcons
30attach pcons at mainbus
31file	arch/sparc64/dev/pcons.c		pcons needs-flag
32
33include "dev/sbus/files.sbus"
34attach sbus at mainbus
35file	arch/sparc64/dev/sbus.c			sbus
36
37device  psycho: pcibus
38attach  psycho at mainbus
39include "dev/pci/files.pci"
40file	arch/sparc64/dev/psycho.c		psycho
41file	arch/sparc64/dev/pci_machdep.c		psycho
42
43# IOMMU is for both
44file	arch/sparc64/dev/iommu.c		sbus | psycho
45
46# can't use ppb for SUNW,simba
47device  simba: pcibus
48attach  simba at pci
49file	arch/sparc64/dev/simba.c		simba
50
51include "dev/ata/files.ata"
52file	arch/sparc64/dev/pciide_machdep.c	pciide
53
54device ebus {[addr = -1]}: pcibus
55attach ebus at pci
56file	arch/sparc64/dev/ebus.c			ebus
57
58# network devices MII bus
59include "dev/mii/files.mii"
60
61device clock
62attach clock at mainbus, sbus with clock_sbus
63attach clock at ebus with clock_ebus
64
65device timer
66attach timer at mainbus, sbus
67
68device eeprom
69attach eeprom at sbus, ebus
70file	arch/sparc64/sparc64/clock.c
71
72device power
73attach power at sbus, ebus
74file	arch/sparc64/dev/power.c			power
75
76device cpu
77attach cpu at mainbus
78file	arch/sparc64/sparc64/cpu.c
79
80device zs {channel = -1}
81attach zs at mainbus, sbus
82file	arch/sparc64/dev/zs.c			zs needs-count
83file	dev/ic/z8530sc.c			zs
84
85# siemens SAB82532; found on U5/U10/... for tty ports.
86#device sab {channel = -1}
87#attach sab at ebus
88#file	arch/sparc64/dev/sab_ebus.c		sab
89#file	dev/ic/sab82532.c			sab
90
91# "com" attachments for the kbd/mouse of the U5/U10/...
92#device ucom {}
93#attach ucom at ebus with com
94#file	arch/sparc64/dev/ucom_ebus.c		ucom
95
96# XXX bogus; this is in dev/isa/files.isa.  fix me please!
97# XXX we should attach a `bpp'-style device here rather than
98# `lpt' because the `bpp' driver supports DMA.
99device	lpt
100file	dev/ic/lpt.c				lpt needs-flag
101
102device	auxio
103attach	auxio at ebus with auxio_ebus
104attach	auxio at sbus with auxio_sbus
105file	arch/sparc64/dev/auxio.c		auxio
106
107attach lpt at ebus with lpt_ebus
108file	arch/sparc64/dev/lpt_ebus.c		lpt_ebus
109
110device fdc {}
111attach fdc at mainbus, sbus, ebus
112# attach fdc at ebus
113device fd: disk
114attach fd at fdc
115file	dev/sun/fd.c				fdc | fd needs-flag
116file	arch/sparc64/sparc64/bsd_fdintr.s	fdc
117
118attach	audiocs at ebus with audiocs_ebus
119file	arch/sparc64/dev/cs4231_ebus.c		audiocs_ebus
120
121#
122# Console (zs) related stuff
123#
124
125device zstty: tty
126attach zstty at zs
127file dev/ic/z8530tty.c			zstty needs-flag
128file arch/sparc/dev/zs_kgdb.c		kgdb
129
130#device sabtty: tty
131#attach sabtty at sab
132#file dev/ic/sabtty.c			sabtty needs-flag
133
134define zsevent
135file dev/sun/event.c			zsevent
136
137device kbd: zsevent
138attach kbd at zs with kbd_zs
139#attach kbd at ucom with kbd_ucom
140file dev/sun/kbd_zs.c			kbd_zs
141file dev/sun/kbd.c			kbd needs-flag
142file dev/sun/kbd_tables.c 		kbd
143file arch/sparc64/dev/kd.c 		kbd
144#file arch/sparc64/dev/kbd_ucom.c 	kbd_ucom
145
146device ms: zsevent
147attach ms at zs with ms_zs
148#attach ms at ucom with ms_ucom
149file dev/sun/ms_zs.c			ms_zs
150file dev/sun/ms.c			ms needs-flag
151#file arch/sparc64/dev/ms_ucom.c 	ms_ucom
152
153
154#
155# Machine-independent SCSI drivers
156#
157include "dev/scsipi/files.scsipi"
158
159major	{ cd = 18 }
160major	{ fd = 16 }
161major	{ md = 5 }
162major	{ sd = 7 }
163major	{ wd = 12 }
164
165# RAIDframe
166major 	{ raid = 25 }
167
168# Brooktree DAC attribute
169define bt_dac
170
171device bwtwo
172attach bwtwo at sbus
173file	arch/sparc64/dev/bwtwo.c		bwtwo needs-flag
174
175device cgtwo
176attach cgtwo at sbus
177file	arch/sparc64/dev/cgtwo.c		cgtwo needs-flag
178
179device cgthree: bt_dac
180attach cgthree at sbus
181file	arch/sparc64/dev/cgthree.c	cgthree needs-flag
182
183device cgfour: bt_dac
184attach cgfour at sbus
185file	arch/sparc64/dev/cgfour.c		cgfour needs-flag
186
187device cgsix: bt_dac
188attach cgsix at sbus
189file	arch/sparc64/dev/cgsix.c		cgsix needs-flag
190file	arch/sparc64/dev/cgsix_sbus.c		cgsix needs-flag
191
192device cgeight: bt_dac
193attach cgeight at sbus
194file	arch/sparc64/dev/cgeight.c	cgeight needs-flag
195
196device tcx: bt_dac
197attach tcx at sbus
198file	arch/sparc64/dev/tcx.c		tcx needs-flag
199
200device cgfourteen
201attach cgfourteen at sbus
202file	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
203
204file	arch/sparc64/dev/bt_subr.c	bt_dac
205
206#
207# Generic Sun stuff
208#
209
210file	dev/cons.c
211file	arch/sparc64/dev/fb.c
212file	arch/sparc64/dev/consinit.c
213
214file	arch/sparc64/fpu/fpu.c
215file	arch/sparc64/fpu/fpu_add.c
216file	arch/sparc64/fpu/fpu_compare.c
217file	arch/sparc64/fpu/fpu_div.c
218file	arch/sparc64/fpu/fpu_explode.c
219file	arch/sparc64/fpu/fpu_implode.c
220file	arch/sparc64/fpu/fpu_mul.c
221file	arch/sparc64/fpu/fpu_sqrt.c
222file	arch/sparc64/fpu/fpu_subr.c
223
224# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
225# identified the exact problem yet.  NOOPT_C suffices for now.
226file	arch/sparc64/sparc64/autoconf.c
227file	arch/sparc64/sparc64/cache.c
228file	arch/sparc64/sparc64/conf.c
229file	arch/sparc64/sparc64/emul.c
230file	arch/sparc64/sparc64/in_cksum.c
231file	netinet/in4_cksum.c		inet
232file	arch/sparc64/sparc64/intr.c
233file	arch/sparc64/sparc64/kgdb_machdep.c kgdb
234# sparc/sparc/locore.s is handled specially in the makefile,
235# because it must come first in the "ld" command line.
236file	arch/sparc64/sparc64/locore2.c
237file	arch/sparc64/sparc64/machdep.c
238file	arch/sparc64/sparc64/process_machdep.c
239file	arch/sparc64/sparc64/mem.c
240file	arch/sparc64/sparc64/openprom.c
241file	arch/sparc64/sparc64/openfirm.c
242file	arch/sparc64/sparc64/ofw_machdep.c
243file	arch/sparc64/sparc64/pmap.c
244# the following overrides the generic "sys_process.c"
245# commented out by deraadt
246#file	arch/sparc64/sparc64/sys_process.c
247file	arch/sparc64/sparc64/sys_machdep.c
248file	arch/sparc64/sparc64/trap.c
249file	arch/sparc64/sparc64/vm_machdep.c
250file	arch/sparc64/sparc64/disksubr.c
251
252file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
253file	arch/sparc64/sparc64/db_trace.c	ddb
254file	arch/sparc64/sparc64/db_disasm.c	ddb
255#file 	ddb/db_aout.c			ddb_aout
256#file	ddb/db_elf.c			ddb
257
258#
259# Raster Console
260#
261include "dev/rcons/files.rcons"
262include "dev/rasops/files.rasops"
263include "dev/wsfont/files.wsfont"
264
265#
266# Compatibility modules
267#
268
269# Binary compatiblity with previous NetBSD releases.
270file	arch/sparc64/sparc64/compat_13_machdep.c compat_13
271
272# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
273include "compat/netbsd32/files.netbsd32"
274file	arch/sparc64/sparc64/netbsd32_machdep.c	compat_netbsd32
275
276# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
277include "compat/aout/files.aout"
278
279# SVR4 Binary Compatibility (COMPAT_SVR4)
280include "compat/svr4/files.svr4"
281file	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
282
283# SunOS Binary Compatibility (COMPAT_SUNOS)
284include "compat/sunos/files.sunos"
285file	arch/sparc64/sparc64/sunos_machdep.c	compat_sunos
286
287# Miscellaneous
288file	netns/ns_cksum.c		ns
289
290file	arch/sparc64/dev/md_root.c	memory_disk_hooks
291