files.macppc revision 1.66
1#	$NetBSD: files.macppc,v 1.66 2005/09/27 14:34:15 macallan 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
81# PCI bus support
82include "dev/pci/files.pci"
83
84include "dev/wscons/files.wscons"
85include "dev/wsfont/files.wsfont"
86include "dev/rasops/files.rasops"
87
88device ofb: wsemuldisplaydev, rasops8
89attach ofb at pci
90file arch/macppc/dev/ofb.c			ofb needs-flag
91file arch/macppc/dev/ofb_cons.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 arch/macppc/dev/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 abtn
163attach abtn at adb
164file arch/macppc/dev/abtn.c			abtn
165
166device nvram
167attach nvram at obio
168file arch/macppc/dev/nvram.c			nvram needs-flag
169
170attach wdc at obio with wdc_obio
171file arch/macppc/dev/wdc_obio.c			wdc_obio
172
173attach wi at obio with wi_obio
174file arch/macppc/dev/if_wi_obio.c		wi_obio
175
176device awacs: audiobus, auconv, mulaw, aurateconv
177attach awacs at obio
178file arch/macppc/dev/awacs.c			awacs
179
180device macgpio {}
181attach macgpio at obio with gpio_obio
182#attach gpio at macgpio with gpio_gpio
183file arch/macppc/dev/gpio.c			macgpio
184
185device macofcons: tty
186attach macofcons at pci
187file arch/macppc/dev/ofcons.c			macofcons needs-flag
188
189include "dev/usb/files.usb"
190include "dev/ieee1394/files.ieee1394"
191
192#
193# Machine-independent CardBus drivers
194#
195
196# XXX dev/pcmcia needs fdc
197device fdc {drive = -1}
198
199include "dev/cardbus/files.cardbus"
200include "dev/pcmcia/files.pcmcia"
201
202file arch/macppc/macppc/rbus_machdep.c		cardbus
203
204# Keywest I2C
205define ki2c {}
206device ki2c: i2cbus, ki2c
207attach ki2c at obio, uni_n
208file arch/macppc/dev/ki2c.c			ki2c
209
210# snapper audio
211device snapper: audiobus, auconv, mulaw, aurateconv
212attach snapper at obio
213file arch/macppc/dev/snapper.c			snapper
214
215# Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL)
216object	/athhal-powerpc-be-eabi.hal.o	ath
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