files.macppc revision 1.27
1#	$NetBSD: files.macppc,v 1.27 2000/02/03 19:27:44 tsubai 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# Machine-independent SCSI drivers
30#
31include "dev/scsipi/files.scsipi"
32major {sd = 4}
33major {cd = 6}
34
35#
36# Machine-independent ATA drivers
37#
38include "dev/ata/files.ata"
39major {wd = 10}
40
41#
42# Generic OpenFirmware device support
43#
44#include "dev/ofw/files.ofw"
45#major {ofdisk = 0}
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
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
76file arch/macppc/pci/pciide_machdep.c		pciide
77
78# network devices MII bus
79include "dev/mii/files.mii"
80
81include "dev/wscons/files.wscons"
82
83device ofb: wsemuldisplaydev, wsrasteremulops
84attach ofb at pci
85file arch/macppc/dev/ofb.c			ofb needs-flag
86
87# PCI-Host bridge chipsets
88device pchb
89attach pchb at pci
90file arch/macppc/pci/pchb.c			pchb
91
92define obio {}
93device obio: obio
94attach obio at pci
95file arch/macppc/dev/obio.c			obio
96
97device mediabay: obio
98attach mediabay at obio
99file arch/macppc/dev/mediabay.c			mediabay
100
101device esp: scsi, ncr53c9x
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
122
123device zstty: tty
124attach zstty at zsc
125file arch/macppc/dev/z8530tty.c			zstty needs-flag
126
127device adb {}
128attach adb at obio
129file arch/macppc/dev/adb.c			adb needs-flag
130file arch/macppc/dev/adb_direct.c		adb
131file arch/macppc/dev/pm_direct.c		adb
132
133device aed
134attach aed at adb
135file arch/macppc/dev/aed.c			aed needs-flag
136
137device akbd: wskbddev
138attach akbd at adb
139file arch/macppc/dev/akbd.c			akbd needs-flag
140
141device ams: wsmousedev
142attach ams at adb
143file arch/macppc/dev/ams.c			ams
144
145device abtn
146attach abtn at adb
147file arch/macppc/dev/abtn.c			abtn
148
149device nvram
150attach nvram at obio
151file arch/macppc/dev/nvram.c			nvram needs-flag
152
153attach wdc at obio with wdc_obio
154file arch/macppc/dev/wdc_obio.c			wdc_obio
155
156define grfdev {}
157
158device grfati: grfdev
159attach grfati at pci
160file arch/macppc/dev/grf_ati.c			grfati needs-flag
161
162device grf {}
163attach grf at grfdev
164file arch/macppc/dev/grf.c			grf needs-flag
165file arch/macppc/dev/grf_subr.c			grf
166
167device ite: tty
168attach ite at grf
169file arch/macppc/dev/ite.c			ite needs-flag
170
171device macofcons: tty
172attach macofcons at pci
173file arch/macppc/dev/ofcons.c			macofcons needs-flag
174
175include "dev/usb/files.usb"
176
177#
178# Machine-independent CardBus drivers
179#
180
181# XXX dev/pcmcia needs fdc
182device fdc {drive = -1}
183
184include "dev/cardbus/files.cardbus"
185include "dev/pcmcia/files.pcmcia"
186
187file arch/macppc/macppc/rbus_machdep.c		cardbus
188