files.macppc revision 1.30
1#	$NetBSD: files.macppc,v 1.30 2000/03/14 15:56:55 oster 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/conf.c
16file arch/macppc/macppc/disksubr.c		disk
17file arch/macppc/macppc/extintr.c
18file arch/macppc/macppc/machdep.c
19file arch/macppc/dev/dbdma.c
20file dev/cons.c
21
22#
23# Memory Disk for install floppy
24#
25file arch/macppc/macppc/md_root.c		memory_disk_hooks
26major {md = 9}
27
28#
29# RAIDframe
30#
31major {raid = 12}
32#
33# Machine-independent SCSI drivers
34#
35include "dev/scsipi/files.scsipi"
36major {sd = 4}
37major {cd = 6}
38
39#
40# Machine-independent ATA drivers
41#
42include "dev/ata/files.ata"
43major {wd = 10}
44
45#
46# Generic OpenFirmware device support
47#
48#include "dev/ofw/files.ofw"
49#major {ofdisk = 0}
50
51#
52# System bus types
53#
54define mainbus {}
55device mainbus: mainbus
56attach mainbus at root
57file arch/macppc/macppc/mainbus.c		mainbus
58
59device cpu
60attach cpu at mainbus
61file arch/macppc/macppc/cpu.c
62
63file arch/macppc/pci/pci_machdep.c		pci
64
65device bandit: pcibus
66attach bandit at mainbus
67file arch/macppc/pci/bandit.c			bandit
68
69device grackle: pcibus
70attach grackle at mainbus
71file arch/macppc/pci/grackle.c			grackle
72
73device uninorth: pcibus
74attach uninorth at mainbus
75file arch/macppc/pci/uninorth.c			uninorth
76
77# PCI bus support
78include "dev/pci/files.pci"
79
80file arch/macppc/pci/pciide_machdep.c		pciide
81
82# network devices MII bus
83include "dev/mii/files.mii"
84
85include "dev/wscons/files.wscons"
86include "dev/wsfont/files.wsfont"
87include "dev/rasops/files.rasops"
88
89device ofb: wsemuldisplaydev, rasops8
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
102define obio {}
103device obio: obio
104attach obio at pci
105file arch/macppc/dev/obio.c			obio
106
107device mediabay: obio
108attach mediabay at obio
109file arch/macppc/dev/mediabay.c			mediabay
110
111device esp: scsi, ncr53c9x
112attach esp at obio
113file arch/macppc/dev/esp.c			esp
114
115device mesh: scsi
116attach mesh at obio
117file arch/macppc/dev/mesh.c			mesh
118
119device mc: ifnet, ether, arp
120attach mc at obio
121file arch/macppc/dev/if_mc.c			mc
122file arch/macppc/dev/am79c950.c			mc
123
124device bm: ifnet, ether, arp, mii, mii_bitbang
125attach bm at obio
126file arch/macppc/dev/if_bm.c			bm
127
128device zsc {channel = -1}
129attach zsc at obio
130file arch/macppc/dev/zs.c	 		zsc needs-flag
131file dev/ic/z8530sc.c				zsc
132
133device zstty: tty
134attach zstty at zsc
135file arch/macppc/dev/z8530tty.c			zstty needs-flag
136
137device adb {}
138attach adb at obio
139file arch/macppc/dev/adb.c			adb needs-flag
140file arch/macppc/dev/adb_direct.c		adb
141file arch/macppc/dev/pm_direct.c		adb
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
166define grfdev {}
167
168device grfati: grfdev
169attach grfati at pci
170file arch/macppc/dev/grf_ati.c			grfati needs-flag
171
172device grf {}
173attach grf at grfdev
174file arch/macppc/dev/grf.c			grf needs-flag
175file arch/macppc/dev/grf_subr.c			grf
176
177device ite: tty
178attach ite at grf
179file arch/macppc/dev/ite.c			ite needs-flag
180
181device macofcons: tty
182attach macofcons at pci
183file arch/macppc/dev/ofcons.c			macofcons needs-flag
184
185include "dev/usb/files.usb"
186
187#
188# Machine-independent CardBus drivers
189#
190
191# XXX dev/pcmcia needs fdc
192device fdc {drive = -1}
193
194include "dev/cardbus/files.cardbus"
195include "dev/pcmcia/files.pcmcia"
196
197file arch/macppc/macppc/rbus_machdep.c		cardbus
198