summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/conf/files.powerpc
blob: 625acb8bb8c83521927973d4dc6eebef259e3ec6 (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
#
# 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/mem.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

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

#
# 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 ofcons | ofnet | ofdisk | ofrtc
major	{ ofdisk = 4 }

#pseudo-device rd
file	arch/powerpc/powerpc/rd_root.c			ramdisk_hooks
major   {rd = 17}

include "dev/pci/files.pci"

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

device	isabr {} : isabus
attach	isabr at mainbus, pci
file	arch/powerpc/isa/isabus.c	isabr
include "../../../scsi/files.scsi"
major	{sd = 2}		# hey this was 0 but at slot 2 in bdevsw XXX
major	{cd = 3}

define	pcmcia {}			# XXX dummy decl...
include	"../../../dev/isa/files.isa"
#major	{ wd = 5 }		# Not even in bdevsw XXX

device	pckbc { } 
attach	pckbc at isa
file	arch/powerpc/isa/pcppi.c	pckbc

device	pckbd
attach	pckbd at pckbc
file	arch/powerpc/isa/pckbd.c	pckbd

device	pms
attach	pms at pckbc
file	arch/powerpc/isa/pms.c		pms

include "../../../dev/isa/files.isapnp"
file    arch/powerpc/isa/isapnp_machdep.c   isapnp   

#
# "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 bus support

#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 obio {} : macintr
attach obio at pci
file arch/powerpc/pci/macobio.c                     obio

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

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

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

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

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

device zstty: tty
attach zstty at zsc
file arch/powerpc/mac/z8530tty.c                 zstty needs-flag

device adb {}
attach adb at obio
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 nvram
attach nvram at obio
file arch/powerpc/mac/nvram.c                    nvram needs-flag


attach wdc at obio with wdc_obio
file arch/powerpc/mac/wdc_obio.c                 wdc_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

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