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