summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf/files.sparc64
blob: 9f49074074bd67ce1ad580f1de930e45f33db41b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
#	$OpenBSD: files.sparc64,v 1.14 2001/09/08 22:33:51 jason Exp $
#	$NetBSD: files.sparc64,v 1.50 2001/08/10 20:53:50 eeh Exp $

# maxpartitions must be first item in files.${ARCH}
maxpartitions 8

maxusers 2 8 1024

define mainbus {}
device mainbus: pcibus, mainbus
attach mainbus at root

device pcons
attach pcons at mainbus
file	arch/sparc64/dev/pcons.c		pcons needs-flag

# Sun HME Ethernet controllers
device	hme: ether, ifnet, mii, ifmedia
file	dev/ic/hme.c			hme

include "dev/sun/files.sun"
include "dev/sbus/files.sbus"
include "dev/i2o/files.i2o"
include "dev/mii/files.mii"
include "dev/atapiscsi/files.atapiscsi"
include "dev/ata/files.ata"

# COMPAT_NETBSD
include "compat/netbsd/files.netbsd"
file	arch/sparc64/sparc64/netbsd_machdep.c	compat_netbsd

attach sbus at mainbus
file	arch/sparc64/dev/sbus.c			sbus

device psycho: pcibus
attach psycho at mainbus
include "dev/pci/files.pci"
file	arch/sparc64/dev/psycho.c		psycho
file	arch/sparc64/dev/pci_machdep.c		psycho

attach	hme at pci with hme_pci
file	dev/pci/if_hme_pci.c		hme_pci

# IOMMU is for both
file	arch/sparc64/dev/iommu.c		sbus | psycho

device ebus {[addr = -1]}: pcibus
attach ebus at pci
file	arch/sparc64/dev/ebus.c			ebus

device clock: mk48txx
attach clock at mainbus, sbus with clock_sbus
attach clock at ebus with clock_ebus

device timer
attach timer at mainbus, sbus

device eeprom
attach eeprom at sbus, ebus
file	arch/sparc64/sparc64/clock.c
file	dev/clock_subr.c

device cpu
attach cpu at mainbus
file	arch/sparc64/sparc64/cpu.c

device auxio
attach auxio at ebus with auxio_ebus
attach auxio at sbus with auxio_sbus
file	arch/sparc64/dev/auxio.c		auxio

#
# Console related stuff
#

attach com at ebus with com_ebus
file	arch/sparc64/dev/com_ebus.c		com_ebus

device zs {channel = -1}
attach zs at mainbus, sbus
file	arch/sparc64/dev/zs.c			zs needs-flag
file	arch/sparc64/dev/z8530sc.c		zs

define zstty {}
device zstty: tty
attach zstty at zs
file arch/sparc64/dev/z8530tty.c		zstty needs-flag

device kbd
attach kbd at zs with kbd_zs
attach kbd at zstty
file arch/sparc64/dev/kbd_zs.c			kbd_zs
file arch/sparc64/dev/kbd.c			kbd needs-flag
file dev/sun/kbd_tables.c 		kbd
file arch/sparc64/dev/kd.c 		kbd
file dev/sun/sunkbd.c			kbd needs-flag

device ms
attach ms at zs with ms_zs
attach ms at zstty
file dev/sun/ms_zs.c			ms_zs
file dev/sun/ms.c			ms needs-flag
file dev/sun/sunms.c			ms needs-flag

file	dev/cons.c
file	arch/sparc64/dev/consinit.c

file	arch/sparc64/fpu/fpu.c
file	arch/sparc64/fpu/fpu_add.c
file	arch/sparc64/fpu/fpu_compare.c
file	arch/sparc64/fpu/fpu_div.c
file	arch/sparc64/fpu/fpu_explode.c
file	arch/sparc64/fpu/fpu_implode.c
file	arch/sparc64/fpu/fpu_mul.c
file	arch/sparc64/fpu/fpu_sqrt.c
file	arch/sparc64/fpu/fpu_subr.c

# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
# identified the exact problem yet.  NOOPT_C suffices for now.
file	arch/sparc64/sparc64/autoconf.c
file	arch/sparc64/sparc64/cache.c
file	arch/sparc64/sparc64/conf.c
file	arch/sparc64/sparc64/emul.c
file	arch/sparc64/sparc64/in_cksum.S
file	arch/sparc64/sparc64/intr.c
file	arch/sparc64/sparc64/kgdb_machdep.c kgdb
# sparc/sparc/locore.s is handled specially in the makefile,
# because it must come first in the "ld" command line.
file	arch/sparc64/sparc64/locore2.c
file	arch/sparc64/sparc64/machdep.c
file	arch/sparc64/sparc64/process_machdep.c
file	arch/sparc64/sparc64/mem.c
file	arch/sparc64/sparc64/openprom.c
file	arch/sparc64/sparc64/openfirm.c
file	arch/sparc64/sparc64/ofw_machdep.c
file	arch/sparc64/sparc64/pmap.c
# the following overrides the generic "sys_process.c"
# commented out by deraadt
#file	arch/sparc64/sparc64/sys_process.c
file	arch/sparc64/sparc64/sys_machdep.c
file	arch/sparc64/sparc64/trap.c
file	arch/sparc64/sparc64/vm_machdep.c
file	arch/sparc64/sparc64/disksubr.c

file	arch/sparc64/sparc64/db_interface.c	ddb | kgdb
file	arch/sparc64/sparc64/db_trace.c	ddb
file	arch/sparc64/sparc64/db_disasm.c	ddb

file	arch/sparc64/dev/md_root.c	memory_disk_hooks

#
# Machine-independent SCSI drivers
#
include "../../../scsi/files.scsi"
major { sd = 7 }
major { vnd = 8 }
major { cd = 18 }
major { rd = 5 }