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