files.macppc revision 1.18
1#	$NetBSD: files.macppc,v 1.18 1998/12/29 04:40:19 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 {st = 5}
34major {cd = 6}
35
36#
37# Machine-independent ATA drivers
38#
39include "dev/ata/files.ata"
40major {wd = 10}
41
42#
43# Generic OpenFirmware device support
44#
45#include "dev/ofw/files.ofw"
46#major {ofdisk = 0}
47
48#
49# System bus types
50#
51define mainbus {}
52device mainbus: pcibus, mainbus
53attach mainbus at root
54file arch/macppc/macppc/mainbus.c		mainbus
55
56device cpu
57attach cpu at mainbus
58file arch/macppc/macppc/cpu.c
59
60include "dev/pci/files.pci"
61
62# network devices MII bus
63include "dev/mii/files.mii"
64
65include "dev/wscons/files.wscons"
66
67device ofb: wsemuldisplaydev, wsrasteremulops
68attach ofb at pci
69file arch/macppc/dev/ofb.c			ofb needs-flag
70
71file arch/macppc/pci/pci_machdep.c		pci
72file arch/macppc/pci/bandit.c			pci
73
74# PCI-Host bridge chipsets
75device pchb
76attach pchb at pci
77file arch/macppc/pci/pchb.c			pchb
78
79device obio {}
80attach obio at pci
81file arch/macppc/dev/obio.c			obio
82
83device esp: scsi, ncr53c9x
84attach esp at obio
85file arch/macppc/dev/esp.c			esp
86
87device mesh: scsi
88attach mesh at obio
89file arch/macppc/dev/mesh.c			mesh
90
91device mc: ifnet, ether, arp
92attach mc at obio
93file arch/macppc/dev/if_mc.c			mc
94file arch/macppc/dev/am79c950.c			mc
95
96device bm: ifnet, ether, arp
97attach bm at obio
98file arch/macppc/dev/if_bm.c			bm
99
100device zsc {channel = -1}
101attach zsc at obio
102file arch/macppc/dev/zs.c	 		zsc needs-flag
103file dev/ic/z8530sc.c				zsc
104
105device zstty: tty
106attach zstty at zsc
107file arch/macppc/dev/z8530tty.c			zstty needs-flag
108
109device adb {}
110attach adb at obio
111file arch/macppc/dev/adb.c			adb needs-flag
112file arch/macppc/dev/adb_direct.c		adb
113file arch/macppc/dev/pm_direct.c		adb
114
115device aed
116attach aed at adb
117file arch/macppc/dev/aed.c			aed needs-flag
118
119device akbd: wskbddev
120attach akbd at adb
121file arch/macppc/dev/akbd.c			akbd needs-flag
122
123device ams: wsmousedev
124attach ams at adb
125file arch/macppc/dev/ams.c			ams
126
127device nvram
128attach nvram at obio
129file arch/macppc/dev/nvram.c			nvram needs-flag
130
131attach wdc at obio with wdc_obio
132file arch/macppc/dev/wdc_obio.c			wdc_obio
133
134define grfdev {}
135
136device grfati: grfdev
137attach grfati at pci
138file arch/macppc/dev/grf_ati.c			grfati needs-flag
139
140device grf {}
141attach grf at grfdev
142file arch/macppc/dev/grf.c			grf needs-flag
143file arch/macppc/dev/grf_subr.c			grf
144
145device ite: tty
146attach ite at grf
147file arch/macppc/dev/ite.c			ite needs-flag
148
149device macofcons: tty
150attach macofcons at pci
151file arch/macppc/dev/ofcons.c			macofcons needs-flag
152
153include "dev/usb/files.usb"
154defopt PCKBD_LAYOUT
155