files.macppc revision 1.36
1#	$NetBSD: files.macppc,v 1.36 2000/11/10 17:09:15 hannken Exp $
2#
3# macppc-specific configuration info
4
5# maxpartitions must be first item in files.${ARCH}.newconf
6maxpartitions 16
7
8maxusers 2 8 64
9
10defopt L2CR_CONFIG
11
12include "arch/powerpc/conf/files.ofw"
13
14file arch/macppc/macppc/autoconf.c
15file arch/macppc/macppc/bus_dma.c
16file arch/macppc/macppc/clock.c
17file arch/macppc/macppc/conf.c
18file arch/macppc/macppc/disksubr.c		disk
19file arch/macppc/macppc/extintr.c
20file arch/macppc/macppc/machdep.c
21file arch/macppc/dev/dbdma.c
22file dev/cons.c
23
24#
25# Memory Disk for install floppy
26#
27file dev/md_root.c				memory_disk_hooks
28major {md = 9}
29
30#
31# RAIDframe
32#
33major {raid = 12}
34
35#
36# Machine-independent SCSI drivers
37#
38include "dev/scsipi/files.scsipi"
39major {sd = 4}
40major {cd = 6}
41
42#
43# Machine-independent ATA drivers
44#
45include "dev/ata/files.ata"
46major {wd = 10}
47
48#
49# Generic OpenFirmware device support
50#
51#include "dev/ofw/files.ofw"
52#major {ofdisk = 0}
53
54#
55# Machine-independent I2O drivers
56#
57
58include "dev/i2o/files.i2o"
59
60#
61# System bus types
62#
63define mainbus {}
64device mainbus: mainbus
65attach mainbus at root
66file arch/macppc/macppc/mainbus.c		mainbus
67
68device cpu
69attach cpu at mainbus
70file arch/macppc/macppc/cpu.c
71
72file arch/macppc/pci/pci_machdep.c		pci
73
74device bandit: pcibus
75attach bandit at mainbus
76file arch/macppc/pci/bandit.c			bandit
77
78device grackle: pcibus
79attach grackle at mainbus
80file arch/macppc/pci/grackle.c			grackle
81
82device uninorth: pcibus
83attach uninorth at mainbus
84file arch/macppc/pci/uninorth.c			uninorth
85
86# PCI bus support
87include "dev/pci/files.pci"
88
89file arch/macppc/pci/pciide_machdep.c		pciide
90
91# network devices MII bus
92include "dev/mii/files.mii"
93
94include "dev/wscons/files.wscons"
95include "dev/wsfont/files.wsfont"
96include "dev/rasops/files.rasops"
97
98device ofb: wsemuldisplaydev, rasops8
99attach ofb at pci
100file arch/macppc/dev/ofb.c			ofb needs-flag
101
102# PCI-Host bridge chipsets
103device pchb
104attach pchb at pci
105file arch/macppc/pci/pchb.c			pchb
106
107device gm: ifnet, ether, arp, mii
108attach gm at pci
109file arch/macppc/dev/if_gm.c			gm
110
111define obio {}
112device obio: obio
113attach obio at pci
114file arch/macppc/dev/obio.c			obio
115
116device mediabay: obio
117attach mediabay at obio
118file arch/macppc/dev/mediabay.c			mediabay
119
120attach esp at obio
121file arch/macppc/dev/esp.c			esp
122
123device mesh: scsi
124attach mesh at obio
125file arch/macppc/dev/mesh.c			mesh
126
127device mc: ifnet, ether, arp
128attach mc at obio
129file arch/macppc/dev/if_mc.c			mc
130file arch/macppc/dev/am79c950.c			mc
131
132device bm: ifnet, ether, arp, mii, mii_bitbang
133attach bm at obio
134file arch/macppc/dev/if_bm.c			bm
135
136device zsc {channel = -1}
137attach zsc at obio
138file arch/macppc/dev/zs.c	 		zsc needs-flag
139file dev/ic/z8530sc.c				zsc
140
141device zstty: tty
142attach zstty at zsc
143file arch/macppc/dev/z8530tty.c			zstty needs-flag
144
145device adb {}
146attach adb at obio
147file arch/macppc/dev/adb.c			adb needs-flag
148file arch/macppc/dev/adb_direct.c		adb
149file arch/macppc/dev/pm_direct.c		adb
150
151device aed
152attach aed at adb
153file arch/macppc/dev/aed.c			aed needs-flag
154
155device akbd: wskbddev
156attach akbd at adb
157file arch/macppc/dev/akbd.c			akbd needs-flag
158
159device ams: wsmousedev
160attach ams at adb
161file arch/macppc/dev/ams.c			ams
162
163device abtn
164attach abtn at adb
165file arch/macppc/dev/abtn.c			abtn
166
167device nvram
168attach nvram at obio
169file arch/macppc/dev/nvram.c			nvram needs-flag
170
171attach wdc at obio with wdc_obio
172file arch/macppc/dev/wdc_obio.c			wdc_obio
173
174device awacs: audio, auconv, mulaw
175attach awacs at obio
176file arch/macppc/dev/awacs.c			awacs
177
178define grfdev {}
179
180device grfati: grfdev
181attach grfati at pci
182file arch/macppc/dev/grf_ati.c			grfati needs-flag
183
184device grf {}
185attach grf at grfdev
186file arch/macppc/dev/grf.c			grf needs-flag
187file arch/macppc/dev/grf_subr.c			grf
188
189device ite: tty
190attach ite at grf
191file arch/macppc/dev/ite.c			ite needs-flag
192
193device macofcons: tty
194attach macofcons at pci
195file arch/macppc/dev/ofcons.c			macofcons needs-flag
196
197include "dev/usb/files.usb"
198include "dev/ieee1394/files.ieee1394"
199
200#
201# Machine-independent CardBus drivers
202#
203
204# XXX dev/pcmcia needs fdc
205device fdc {drive = -1}
206
207include "dev/cardbus/files.cardbus"
208include "dev/pcmcia/files.pcmcia"
209
210file arch/macppc/macppc/rbus_machdep.c		cardbus
211