files.macppc revision 1.44
1#	$NetBSD: files.macppc,v 1.44 2001/06/24 17:38:28 wiz 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/macppc/procfs_machdep.c	procfs
22file arch/macppc/dev/dbdma.c
23file dev/cons.c
24
25#
26# Memory Disk for install floppy
27#
28file dev/md_root.c				memory_disk_hooks
29major {md = 9}
30
31#
32# Compatibility modules
33#
34
35# OSS audio driver compatibility
36include "compat/ossaudio/files.ossaudio"
37
38# Linux binary compatibility (COMPAT_LINUX)
39include "compat/linux/files.linux"
40include "compat/linux/arch/powerpc/files.linux_powerpc"
41file arch/powerpc/powerpc/linux_sigcode.S        compat_linux
42file arch/powerpc/powerpc/linux_trap.c        compat_linux
43
44#
45# RAIDframe
46#
47major {raid = 12}
48
49#
50# Machine-independent SCSI drivers
51#
52include "dev/scsipi/files.scsipi"
53major {sd = 4}
54major {cd = 6}
55
56#
57# Machine-independent ATA drivers
58#
59include "dev/ata/files.ata"
60major {wd = 10}
61
62#
63# Generic OpenFirmware device support
64#
65include "dev/ofw/files.ofw"
66major {ofdisk = 0}
67
68#
69# Machine-independent I2O drivers
70#
71include "dev/i2o/files.i2o"
72major {ld = 13}
73
74#
75# System bus types
76#
77define mainbus {}
78device mainbus: mainbus
79attach mainbus at root
80file arch/macppc/macppc/mainbus.c		mainbus
81
82device cpu
83attach cpu at mainbus
84file arch/macppc/macppc/cpu.c
85
86file arch/macppc/pci/pci_machdep.c		pci
87
88device bandit: pcibus
89attach bandit at mainbus
90file arch/macppc/pci/bandit.c			bandit
91
92device grackle: pcibus
93attach grackle at mainbus
94file arch/macppc/pci/grackle.c			grackle
95
96device uninorth: pcibus
97attach uninorth at mainbus
98file arch/macppc/pci/uninorth.c			uninorth
99
100# PCI bus support
101include "dev/pci/files.pci"
102
103# network devices MII bus
104include "dev/mii/files.mii"
105
106include "dev/wscons/files.wscons"
107include "dev/wsfont/files.wsfont"
108include "dev/rasops/files.rasops"
109
110device ofb: wsemuldisplaydev, rasops8
111attach ofb at pci
112file arch/macppc/dev/ofb.c			ofb needs-flag
113
114# PCI-Host bridge chipsets
115device pchb
116attach pchb at pci
117file arch/macppc/pci/pchb.c			pchb
118
119device gm: ifnet, ether, arp, mii
120attach gm at pci
121file arch/macppc/dev/if_gm.c			gm
122
123define obio {}
124device obio: obio
125attach obio at pci
126file arch/macppc/dev/obio.c			obio
127
128device mediabay: obio
129attach mediabay at obio
130file arch/macppc/dev/mediabay.c			mediabay
131
132attach esp at obio
133file arch/macppc/dev/esp.c			esp
134
135device mesh: scsi
136attach mesh at obio
137file arch/macppc/dev/mesh.c			mesh
138
139device mc: ifnet, ether, arp
140attach mc at obio
141file arch/macppc/dev/if_mc.c			mc
142file arch/macppc/dev/am79c950.c			mc
143
144device bm: ifnet, ether, arp, mii, mii_bitbang
145attach bm at obio
146file arch/macppc/dev/if_bm.c			bm
147
148device zsc {channel = -1}
149attach zsc at obio
150file arch/macppc/dev/zs.c	 		zsc needs-flag
151file dev/ic/z8530sc.c				zsc
152
153device zstty: tty
154attach zstty at zsc
155file arch/macppc/dev/z8530tty.c			zstty needs-flag
156
157device adb {}
158attach adb at obio
159file arch/macppc/dev/adb.c			adb needs-flag
160file arch/macppc/dev/adb_direct.c		adb
161file arch/macppc/dev/pm_direct.c		adb
162
163device aed
164attach aed at adb
165file arch/macppc/dev/aed.c			aed needs-flag
166
167device akbd: wskbddev
168attach akbd at adb
169file arch/macppc/dev/akbd.c			akbd needs-flag
170
171device ams: wsmousedev
172attach ams at adb
173file arch/macppc/dev/ams.c			ams
174
175device abtn
176attach abtn at adb
177file arch/macppc/dev/abtn.c			abtn
178
179device nvram
180attach nvram at obio
181file arch/macppc/dev/nvram.c			nvram needs-flag
182
183attach wdc at obio with wdc_obio
184file arch/macppc/dev/wdc_obio.c			wdc_obio
185
186attach wi at obio with wi_obio
187file arch/macppc/dev/if_wi_obio.c		wi_obio
188
189device awacs: audio, auconv, mulaw
190attach awacs at obio
191file arch/macppc/dev/awacs.c			awacs
192
193device gpio {}
194attach gpio at obio with gpio_obio
195attach gpio at gpio with gpio_gpio
196file arch/macppc/dev/gpio.c			gpio
197
198define grfdev {}
199
200device grfati: grfdev
201attach grfati at pci
202file arch/macppc/dev/grf_ati.c			grfati needs-flag
203
204device grf {}
205attach grf at grfdev
206file arch/macppc/dev/grf.c			grf needs-flag
207file arch/macppc/dev/grf_subr.c			grf
208
209device ite: tty
210attach ite at grf
211file arch/macppc/dev/ite.c			ite needs-flag
212
213device macofcons: tty
214attach macofcons at pci
215file arch/macppc/dev/ofcons.c			macofcons needs-flag
216
217include "dev/usb/files.usb"
218include "dev/ieee1394/files.ieee1394"
219
220#
221# Machine-independent CardBus drivers
222#
223
224# XXX dev/pcmcia needs fdc
225device fdc {drive = -1}
226
227include "dev/cardbus/files.cardbus"
228include "dev/pcmcia/files.pcmcia"
229
230file arch/macppc/macppc/rbus_machdep.c		cardbus
231