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