summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/conf/files.powerpc
blob: 9c7adeac1b7fd73b39f58f9517c21df694d604d3 (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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
#	$OpenBSD: files.powerpc,v 1.33 2001/07/04 08:38:48 niklas Exp $

#
# powerpc-specific configuration info
#
maxpartitions 16

maxusers 2 8 64

file	arch/powerpc/powerpc/Locore.c
file	arch/powerpc/powerpc/autoconf.c
file	arch/powerpc/powerpc/bcopy.c
file	arch/powerpc/powerpc/clock.c
file	arch/powerpc/powerpc/conf.c
file	arch/powerpc/powerpc/copyinstr.c
file	arch/powerpc/powerpc/copyoutstr.c
file	arch/powerpc/powerpc/copystr.c
file	arch/powerpc/powerpc/disksubr.c			disk
file	arch/powerpc/powerpc/fpu.c
file	arch/powerpc/powerpc/fubyte.c
file	arch/powerpc/powerpc/fuswintr.c
file	arch/powerpc/powerpc/in_cksum.c
file	arch/powerpc/powerpc/ipkdb_glue.c		ipkdb
file	arch/powerpc/powerpc/machdep.c
file	arch/powerpc/powerpc/wscons_machdep.c
file	arch/powerpc/powerpc/mem.c
file	arch/powerpc/powerpc/dma.c
file	arch/powerpc/powerpc/ofw_machdep.c
file	arch/powerpc/powerpc/openfirm.c
file	arch/powerpc/powerpc/pmap.c
file	arch/powerpc/powerpc/process_machdep.c
file	arch/powerpc/powerpc/subyte.c
file	arch/powerpc/powerpc/suword.c
file	arch/powerpc/powerpc/suswintr.c
file	arch/powerpc/powerpc/sys_machdep.c
file	arch/powerpc/powerpc/trap.c
file	arch/powerpc/powerpc/vm_machdep.c
file	dev/cons.c
file	dev/cninit.c
file	arch/powerpc/powerpc/setjmp.S			ddb
file	arch/powerpc/powerpc/db_memrw.c			ddb
file	arch/powerpc/powerpc/db_disasm.c		ddb
file	arch/powerpc/powerpc/db_interface.c		ddb
file	arch/powerpc/powerpc/db_trace.c			ddb
file	arch/powerpc/powerpc/ofwreal.S

#
# Media Indepedent Interface (mii)
#
include "../../../dev/mii/files.mii"

#
# MAC generic
#
file	arch/powerpc/mac/dbdma.c

#
# Openfirmware support
#

define	mainbus {}
device	mainbus
attach	mainbus at root
file	arch/powerpc/powerpc/mainbus.c			mainbus

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

include "../../../dev/ofw/files.ofw"
file	arch/powerpc/powerpc/opendev.c
major	{ ofdisk = 4 }


device	memc {}
attach	memc at mainbus
file	arch/powerpc/mac/uni_n.c			memc

major	{rd = 17}
major	{sd = 2}
major	{cd = 3}

include "../../../scsi/files.scsi"

#
# I2O
#
include "../../../dev/i2o/files.i2o"

include "dev/pci/files.pci"
file	arch/powerpc/pci/pciide_machdep.c	pciide

device	mpcpcibr {} : pcibus
attach	mpcpcibr at mainbus
file	arch/powerpc/pci/mpcpcibus.c			mpcpcibr
#file	arch/powerpc/pci/pci_addr_fixup.c		mpcpcibr

#
# "workstation console" routines
#

include "dev/wscons/files.wscons"


#device	ofb: wsemuldisplaydev, wsrasteremulops
device	ofb
attach	ofb at pci
file	arch/powerpc/mac/ofb.c				ofb needs-flag


#
# mac peripheral pieces.
#

#file	arch/powerpc/pci/bandit.c			pci

#PCI-Host bridge chipsets
device	pchb
attach	pchb at pci
file	arch/powerpc/pci/pchb.c				pchb


#
# Machine-independent ATAPI drivers
#

include "../../../dev/atapiscsi/files.atapiscsi"
include "../../../dev/ata/files.ata"

# MAC periph

device	macobio {}
attach	macobio at pci
file	arch/powerpc/pci/macobio.c			macobio

#device	esp: scsi, ncr53c9x
#attach	esp at macobio
#file	arch/powerpc/mac/esp.c				esp

device	mesh: scsi
attach	mesh at macobio
file	arch/powerpc/mac/mesh.c				mesh

device	mc: ifnet, ether
attach	mc at macobio
file	arch/powerpc/mac/if_mc.c			mc
file	arch/powerpc/mac/am79c950.c			mc

device	bm: ether, ifnet, ifmedia
attach	bm at macobio
file	arch/powerpc/mac/if_bm.c			bm

device	gm: ether, ifnet, ifmedia, mii
attach	gm at pci
file	arch/powerpc/mac/if_gm.c			gm needs-flag

device	macintr {}
attach	macintr at macobio
file	arch/powerpc/mac/macintr.c			macintr

device	openpic {}
attach	openpic at macobio
file	arch/powerpc/mac/openpic.c			openpic

device	zsc {channel = -1}
attach	zsc at macobio
file	arch/powerpc/mac/zs.c				zsc needs-flag
file	dev/ic/z8530sc.c				zsc

device	zstty: tty
attach	zstty at zsc
file	dev/ic/z8530tty.c				zstty needs-flag

device	adb {}
attach	adb at macobio
file	arch/powerpc/mac/adb.c				adb needs-flag
file	arch/powerpc/mac/adb_direct.c			adb
file	arch/powerpc/mac/pm_direct.c			adb

device	aed
attach	aed at adb
file	arch/powerpc/mac/aed.c				aed needs-flag

#??
#define wskbddev {[console = -1]}
#define wsmousedev {}
#??

device	akbd: wskbddev
attach	akbd at adb
file	arch/powerpc/mac/akbd.c				akbd needs-flag

device	ams: wsmousedev
attach	ams at adb
file	arch/powerpc/mac/ams.c				ams

device	abtn
attach	abtn at adb
file	arch/powerpc/mac/abtn.c				abtn

device	awacs: audio, auconv, mulaw
attach	awacs at macobio
file	arch/powerpc/mac/awacs.c			awacs

device	nvram
attach	nvram at macobio
file	arch/powerpc/mac/nvram.c			nvram needs-flag

device	gpio {}
attach	gpio at macobio with gpio_obio
attach	gpio at gpio with gpio_gpio
file	arch/powerpc/mac/gpio.c				gpio

attach	wdc at macobio with wdc_obio
file	arch/powerpc/mac/wdc_obio.c			wdc_obio

attach	wi at macobio with wi_obio
file	arch/powerpc/mac/if_wi_obio.c			wi_obio

define	grfdev {}

device	grfati: grfdev
attach	grfati at pci
file	arch/powerpc/mac/grf_ati.c			grfati needs-flag

device	grf {}
attach	grf at grfdev
file	arch/powerpc/mac/grf.c				grf needs-flag
file	arch/powerpc/mac/grf_subr.c			grf

device	ite: tty
attach	ite at grf
file	arch/powerpc/mac/ite.c				ite needs-flag


# VGA framebuffer
device	vgafb: wsemuldisplaydev, wsrasteremulops
file	arch/powerpc/pci/vgafb.c			vgafb & vgafb_pci

# Generic VGA Framebuffer version
attach	vgafb at pci with vgafb_pci
file	arch/powerpc/pci/vgafb_pci.c			vgafb_pci needs-flag


#
# CARDBUS
#
include	"dev/cardbus/files.cardbus"
#file	arch/powerpc/powerpc/rbus_machdep.c		cardbus

#
# Machine-independent PCMCIA drivers
#
include "dev/pcmcia/files.pcmcia"

#
# Machine-independent USB drivers
#
include "dev/usb/files.usb"