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