files.macppc revision 1.73
1#	$NetBSD: files.macppc,v 1.73 2006/04/04 03:13:12 gdamore 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# pseudo for the UniNorth host controller
76define uni_n {}
77device uni_n: uni_n
78attach uni_n at mainbus
79file arch/macppc/dev/uni-n.c			uni_n
80
81include "dev/wscons/files.wscons"
82include "dev/wsfont/files.wsfont"
83include "dev/rasops/files.rasops"
84include "dev/usb/files.usb"
85
86# PCI bus support
87include "dev/pci/files.pci"
88
89device ofb: wsemuldisplaydev, rasops8, vcons
90attach ofb at pci
91file arch/macppc/dev/ofb.c			ofb needs-flag
92
93# PCI-Host bridge chipsets
94device pchb
95attach pchb at pci
96file arch/macppc/pci/pchb.c			pchb
97
98device gm: ifnet, ether, arp, mii
99attach gm at pci
100file arch/macppc/dev/if_gm.c			gm
101
102attach wdc at pci with kauai
103file arch/macppc/dev/kauai.c			kauai
104
105define obio {}
106device obio: obio
107attach obio at pci
108file arch/macppc/dev/obio.c			obio
109
110device mediabay: obio
111attach mediabay at obio
112file arch/macppc/dev/mediabay.c			mediabay
113
114attach esp at obio
115file arch/macppc/dev/esp.c			esp
116
117device mesh: scsi
118attach mesh at obio
119file arch/macppc/dev/mesh.c			mesh
120
121device mc: ifnet, ether, arp
122attach mc at obio
123file arch/macppc/dev/if_mc.c			mc
124file arch/macppc/dev/am79c950.c			mc
125
126device bm: ifnet, ether, arp, mii, mii_bitbang
127attach bm at obio
128file arch/macppc/dev/if_bm.c			bm
129
130device zsc {channel = -1}
131attach zsc at obio
132file arch/macppc/dev/zs.c	 		zsc needs-flag
133file dev/ic/z8530sc.c				zsc
134file arch/macppc/dev/zs_kgdb.c			zsc & kgdb
135
136device zstty: tty
137attach zstty at zsc
138file dev/ic/z8530tty.c				zstty needs-flag
139
140device adb {}
141attach adb at obio
142file arch/macppc/dev/adb.c			adb needs-flag
143file arch/macppc/dev/adb_direct.c		adb
144file arch/macppc/dev/pm_direct.c		adb
145
146device apm
147attach apm at adb
148file arch/macppc/dev/apm.c			apm needs-count
149
150device aed
151attach aed at adb
152file arch/macppc/dev/aed.c			aed needs-flag
153
154device akbd: wskbddev
155attach akbd at adb
156file arch/macppc/dev/akbd.c			akbd needs-flag
157
158device ams: wsmousedev
159attach ams at adb
160file arch/macppc/dev/ams.c			ams
161
162device pbms: wsmousedev
163attach pbms at uhidbus
164file arch/macppc/dev/pbms.c			pbms
165
166device abtn
167attach abtn at adb
168file arch/macppc/dev/abtn.c			abtn
169
170device nvram
171attach nvram at obio
172file arch/macppc/dev/nvram.c			nvram needs-flag
173
174attach wdc at obio with wdc_obio
175file arch/macppc/dev/wdc_obio.c			wdc_obio
176
177attach wi at obio with wi_obio
178file arch/macppc/dev/if_wi_obio.c		wi_obio
179
180device awacs: audiobus, auconv, mulaw, aurateconv
181attach awacs at obio
182file arch/macppc/dev/awacs.c			awacs
183
184device macgpio {}
185attach macgpio at obio with gpio_obio
186#attach gpio at macgpio with gpio_gpio
187file arch/macppc/dev/gpio.c			macgpio
188
189device macofcons: tty
190attach macofcons at pci
191file arch/macppc/dev/ofcons.c			macofcons needs-flag
192
193include "dev/ieee1394/files.ieee1394"
194
195#
196# Machine-independent CardBus drivers
197#
198
199# XXX dev/pcmcia needs fdc
200device fdc {drive = -1}
201
202include "dev/cardbus/files.cardbus"
203include "dev/pcmcia/files.pcmcia"
204
205file arch/macppc/macppc/rbus_machdep.c		cardbus
206
207# Keywest I2C
208define ki2c {}
209device ki2c: i2cbus, ki2c
210attach ki2c at obio, uni_n
211file arch/macppc/dev/ki2c.c			ki2c
212
213# snapper audio
214device snapper: audiobus, auconv, mulaw, aurateconv
215attach snapper at obio
216file arch/macppc/dev/snapper.c			snapper
217
218include "arch/macppc/conf/majors.macppc"
219
220attach adt7467c at ki2c with adt7467_ki2c
221file arch/macppc/dev/adt7467_ki2c.c		adt7467c
222
223attach adm1030c at ki2c with adm1030_ki2c
224file arch/macppc/dev/adm1030_ki2c.c		adm1030c
225
226define deq {}
227device deq
228attach deq at ki2c
229file arch/macppc/dev/deq.c				deq
230
231