files.macppc revision 1.23
1#	$NetBSD: files.macppc,v 1.23 1999/10/15 06:12:15 haya 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: pcibus, 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
59# PCI bus support
60include "dev/pci/files.pci"
61
62file arch/macppc/pci/pciide_machdep.c		pciide
63
64# network devices MII bus
65include "dev/mii/files.mii"
66
67include "dev/wscons/files.wscons"
68
69device ofb: wsemuldisplaydev, wsrasteremulops
70attach ofb at pci
71file arch/macppc/dev/ofb.c			ofb needs-flag
72
73file arch/macppc/pci/pci_machdep.c		pci
74file arch/macppc/pci/bandit.c			pci
75
76# PCI-Host bridge chipsets
77device pchb
78attach pchb at pci
79file arch/macppc/pci/pchb.c			pchb
80
81define obio {}
82device obio: obio
83attach obio at pci
84file arch/macppc/dev/obio.c			obio
85
86device mediabay: obio
87attach mediabay at obio
88file arch/macppc/dev/mediabay.c			mediabay
89
90device esp: scsi, ncr53c9x
91attach esp at obio
92file arch/macppc/dev/esp.c			esp
93
94device mesh: scsi
95attach mesh at obio
96file arch/macppc/dev/mesh.c			mesh
97
98device mc: ifnet, ether, arp
99attach mc at obio
100file arch/macppc/dev/if_mc.c			mc
101file arch/macppc/dev/am79c950.c			mc
102
103device bm: ifnet, ether, arp
104attach bm at obio
105file arch/macppc/dev/if_bm.c			bm
106
107device zsc {channel = -1}
108attach zsc at obio
109file arch/macppc/dev/zs.c	 		zsc needs-flag
110file dev/ic/z8530sc.c				zsc
111
112device zstty: tty
113attach zstty at zsc
114file arch/macppc/dev/z8530tty.c			zstty needs-flag
115
116device adb {}
117attach adb at obio
118file arch/macppc/dev/adb.c			adb needs-flag
119file arch/macppc/dev/adb_direct.c		adb
120file arch/macppc/dev/pm_direct.c		adb
121
122device aed
123attach aed at adb
124file arch/macppc/dev/aed.c			aed needs-flag
125
126device akbd: wskbddev
127attach akbd at adb
128file arch/macppc/dev/akbd.c			akbd needs-flag
129
130device ams: wsmousedev
131attach ams at adb
132file arch/macppc/dev/ams.c			ams
133
134device abtn
135attach abtn at adb
136file arch/macppc/dev/abtn.c			abtn
137
138device nvram
139attach nvram at obio
140file arch/macppc/dev/nvram.c			nvram needs-flag
141
142attach wdc at obio with wdc_obio
143file arch/macppc/dev/wdc_obio.c			wdc_obio
144
145define grfdev {}
146
147device grfati: grfdev
148attach grfati at pci
149file arch/macppc/dev/grf_ati.c			grfati needs-flag
150
151device grf {}
152attach grf at grfdev
153file arch/macppc/dev/grf.c			grf needs-flag
154file arch/macppc/dev/grf_subr.c			grf
155
156device ite: tty
157attach ite at grf
158file arch/macppc/dev/ite.c			ite needs-flag
159
160device macofcons: tty
161attach macofcons at pci
162file arch/macppc/dev/ofcons.c			macofcons needs-flag
163
164include "dev/usb/files.usb"
165
166#
167# Machine-independent CardBus drivers
168#
169include "dev/files.cardbus"
170include "dev/pcmcia/files.pcmcia"
171file arch/macppc/macppc/rbus_machdep.c		cardbus
172