files.macppc revision 1.21
1#	$NetBSD: files.macppc,v 1.21 1999/07/12 17:48:26 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: 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
81device obio {}
82attach obio at pci
83file arch/macppc/dev/obio.c			obio
84
85device esp: scsi, ncr53c9x
86attach esp at obio
87file arch/macppc/dev/esp.c			esp
88
89device mesh: scsi
90attach mesh at obio
91file arch/macppc/dev/mesh.c			mesh
92
93device mc: ifnet, ether, arp
94attach mc at obio
95file arch/macppc/dev/if_mc.c			mc
96file arch/macppc/dev/am79c950.c			mc
97
98device bm: ifnet, ether, arp
99attach bm at obio
100file arch/macppc/dev/if_bm.c			bm
101
102device zsc {channel = -1}
103attach zsc at obio
104file arch/macppc/dev/zs.c	 		zsc needs-flag
105file dev/ic/z8530sc.c				zsc
106
107device zstty: tty
108attach zstty at zsc
109file arch/macppc/dev/z8530tty.c			zstty needs-flag
110
111device adb {}
112attach adb at obio
113file arch/macppc/dev/adb.c			adb needs-flag
114file arch/macppc/dev/adb_direct.c		adb
115file arch/macppc/dev/pm_direct.c		adb
116
117device aed
118attach aed at adb
119file arch/macppc/dev/aed.c			aed needs-flag
120
121device akbd: wskbddev
122attach akbd at adb
123file arch/macppc/dev/akbd.c			akbd needs-flag
124
125device ams: wsmousedev
126attach ams at adb
127file arch/macppc/dev/ams.c			ams
128
129device abtn
130attach abtn at adb
131file arch/macppc/dev/abtn.c			abtn
132
133device nvram
134attach nvram at obio
135file arch/macppc/dev/nvram.c			nvram needs-flag
136
137attach wdc at obio with wdc_obio
138file arch/macppc/dev/wdc_obio.c			wdc_obio
139
140define grfdev {}
141
142device grfati: grfdev
143attach grfati at pci
144file arch/macppc/dev/grf_ati.c			grfati needs-flag
145
146device grf {}
147attach grf at grfdev
148file arch/macppc/dev/grf.c			grf needs-flag
149file arch/macppc/dev/grf_subr.c			grf
150
151device ite: tty
152attach ite at grf
153file arch/macppc/dev/ite.c			ite needs-flag
154
155device macofcons: tty
156attach macofcons at pci
157file arch/macppc/dev/ofcons.c			macofcons needs-flag
158
159include "dev/usb/files.usb"
160defopt PCKBD_LAYOUT
161