files.sparc64 revision 1.6
1#	$NetBSD: files.sparc64,v 1.6 1998/07/27 19:20:32 pk 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
11device mainbus {}
12attach mainbus at root
13
14device obio { [addr = -1], [level = -1] }
15attach obio at mainbus
16file	arch/sparc64/dev/obio.c		obio
17
18device iommu {}
19attach iommu at mainbus
20file	arch/sparc64/sparc64/iommu.c		iommu
21
22include "../../../dev/sbus/files.sbus"
23attach sbus at mainbus, iommu
24file	arch/sparc64/dev/sbus.c			sbus
25
26#device auxreg
27#attach auxreg at mainbus, sbus, obio
28#file	arch/sparc64/sparc64/auxreg.c
29
30device clock
31attach clock at mainbus, sbus, obio
32
33device oclock
34attach oclock at sbus, obio
35
36device timer
37attach timer at mainbus, sbus, obio
38
39device eeprom
40attach eeprom at sbus, obio
41file	arch/sparc64/sparc64/clock.c
42
43device power
44attach power at sbus, obio
45file	arch/sparc64/dev/power.c			power
46
47device cpu
48attach cpu at mainbus
49file	arch/sparc64/sparc64/cpu.c
50
51device zs {channel = -1}
52attach zs at mainbus, sbus, obio
53file	arch/sparc64/dev/zs.c			zs needs-count
54file	dev/ic/z8530sc.c			zs
55
56device fdc {}
57attach fdc at mainbus, sbus, obio
58device fd: disk
59attach fd at fdc
60file	arch/sparc64/dev/fd.c			fdc | fd needs-flag
61file	arch/sparc64/sparc/bsd_fdintr.s		fdc
62
63#
64# Console (zs) related stuff
65#
66
67device zstty: tty
68attach zstty at zs
69file dev/ic/z8530tty.c			zstty needs-flag
70file arch/sparc/dev/zs_kgdb.c		kgdb
71
72define zsevent
73file dev/sun/event.c			zsevent
74
75device kbd: zsevent
76attach kbd at zs
77file dev/sun/kbd.c			kbd needs-flag
78file dev/sun/kbd_tables.c 		kbd
79file arch/sparc64/dev/kd.c 		kbd
80
81device ms: zsevent
82attach ms at zs
83file dev/sun/ms.c			ms needs-flag
84
85
86#
87# Machine-independent SCSI drivers
88#
89include "../../../dev/scsipi/files.scsipi"
90
91major { sd = 7 }
92major { vnd = 8 }
93major { cd = 18 }
94
95device dma {}
96attach dma at sbus, obio
97device ledma {}
98attach ledma at sbus
99file	arch/sparc64/dev/dma.c		dma | ledma
100
101device esp: scsi, ncr53c9x
102attach esp at sbus, dma, obio
103device fas: scsi, ncr53c9x
104attach fas at sbus, dma, obio
105file	arch/sparc64/dev/esp.c		esp | fas
106
107#device audioamd: audio
108#attach audioamd at mainbus, obio, sbus
109#file	arch/sparc64/dev/amd7930.c		audio
110#file	arch/sparc64/sparc64/amd7930intr.s		audio
111
112# Brooktree DAC attribute
113define bt_dac
114
115device bwtwo
116attach bwtwo at sbus, obio
117file	arch/sparc64/dev/bwtwo.c		bwtwo needs-flag
118
119device cgtwo
120attach cgtwo at sbus, obio
121file	arch/sparc64/dev/cgtwo.c		cgtwo needs-flag
122
123device cgthree: bt_dac
124attach cgthree at sbus
125file	arch/sparc64/dev/cgthree.c	cgthree needs-flag
126
127device cgfour: bt_dac
128attach cgfour at sbus, obio
129file	arch/sparc64/dev/cgfour.c		cgfour needs-flag
130
131device cgsix: bt_dac
132attach cgsix at sbus, obio
133file	arch/sparc64/dev/cgsix.c		cgsix needs-flag
134file	arch/sparc64/dev/cgsix_sbus.c		cgsix needs-flag
135
136device cgeight: bt_dac
137attach cgeight at sbus, obio
138file	arch/sparc64/dev/cgeight.c	cgeight needs-flag
139
140device tcx: bt_dac
141attach tcx at sbus
142file	arch/sparc64/dev/tcx.c		tcx needs-flag
143
144device cgfourteen
145attach cgfourteen at sbus, obio
146file	arch/sparc64/dev/cgfourteen.c	cgfourteen needs-flag
147
148file	arch/sparc64/dev/bt_subr.c	bt_dac
149
150# device definition in sys/conf/files
151attach le at sbus, ledma, lebuffer, obio: le24
152file	arch/sparc64/dev/if_le.c	le
153
154device ie: ifnet, ether, arp
155attach ie at sbus, obio
156file	arch/sparc64/dev/if_ie.c		ie
157
158device sw: scsi, ncr5380sbc
159attach sw at sbus, obio
160file	arch/sparc64/dev/si.c		 sw
161
162# Efficient Networks, Inc. ATM interface
163# device declaration in sys/conf/files
164attach  en at sbus with en_sbus
165file    arch/sparc64/dev/if_en_sbus.c     en_sbus
166
167# Qlogic ISP 10x0 (Sbus) family
168# device declaration in sys/conf/files
169attach isp at sbus with isp_sbus
170file	arch/sparc64/dev/isp_sbus.c	isp_sbus
171
172#
173# Generic Sun stuff
174#
175
176file	dev/cons.c
177file	arch/sparc64/dev/fb.c
178
179file	arch/sparc64/fpu/fpu.c
180file	arch/sparc64/fpu/fpu_add.c
181file	arch/sparc64/fpu/fpu_compare.c
182file	arch/sparc64/fpu/fpu_div.c
183file	arch/sparc64/fpu/fpu_explode.c
184file	arch/sparc64/fpu/fpu_implode.c
185file	arch/sparc64/fpu/fpu_mul.c
186file	arch/sparc64/fpu/fpu_sqrt.c
187file	arch/sparc64/fpu/fpu_subr.c
188
189# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
190# identified the exact problem yet.  NOOPT_C suffices for now.
191file	arch/sparc64/sparc64/autoconf.c
192file	arch/sparc64/sparc64/cache.c
193file	arch/sparc64/sparc64/conf.c
194file	arch/sparc64/sparc64/emul.c
195file	arch/sparc64/sparc64/in_cksum.c
196file	arch/sparc64/sparc64/intr.c
197file	arch/sparc64/sparc64/kgdb_machdep.c kgdb
198# sparc/sparc/locore.s is handled specially in the makefile,
199# because it must come first in the "ld" command line.
200file	arch/sparc64/sparc64/locore2.c
201file	arch/sparc64/sparc64/machdep.c
202file	arch/sparc64/sparc64/process_machdep.c
203file	arch/sparc64/sparc64/mem.c
204file	arch/sparc64/sparc64/openprom.c
205file	arch/sparc64/sparc64/openfirm.c
206file	arch/sparc64/sparc64/ofw_machdep.c
207file	arch/sparc64/sparc64/pmap.c
208# the following overrides the generic "sys_process.c"
209# commented out by deraadt
210#file	arch/sparc64/sparc64/sys_process.c
211file	arch/sparc64/sparc64/sys_machdep.c
212file	arch/sparc64/sparc64/trap.c
213file	arch/sparc64/sparc64/vm_machdep.c
214file	arch/sparc64/sparc64/disksubr.c
215
216file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
217file	arch/sparc64/sparc64/db_trace.c	ddb
218file	arch/sparc64/sparc64/db_disasm.c	ddb
219#file 	ddb/db_aout.c			ddb_aout
220#file	ddb/db_elf.c			ddb
221
222#
223# Raster Console
224#
225include "../../../dev/rcons/files.rcons"
226
227#
228# Compatibility modules
229#
230
231# SVR4 Binary Compatibility (COMPAT_SVR4)
232include "../../../compat/svr4/files.svr4"
233file	arch/sparc64/sparc64/svr4_machdep.c	compat_svr4
234file	arch/sparc64/sparc64/sunos_machdep.c compat_sunos
235
236# SunOS Binary Compatibility (COMPAT_SUNOS)
237include "../../../compat/sunos/files.sunos"
238
239# Miscellaneous
240file	netns/ns_cksum.c		ns
241
242major	{md = 5}
243file	arch/sparc64/dev/md_root.c	memory_disk_hooks
244