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