xref: /netbsd/sys/arch/algor/conf/files.algor (revision bf9ec67e)
1#	$NetBSD: files.algor,v 1.13 2002/04/16 20:50:17 thorpej Exp $
2
3# Algorithmics evaluation board specific configuration info.
4
5# maxpartitions must be the first item in files.${ARCH}
6maxpartitions 8
7
8maxusers 8 16 64
9
10# Platform support option headers.
11defflag		ALGOR_P4032	# Algorithmics P-4032
12defflag		ALGOR_P5064	# Algorithmics P-5064
13defflag		ALGOR_P6032	# Algorithmics P-6032
14
15# Various items that a buggy PMON might not provide us.
16defparam	MEMSIZE
17defparam	ETHADDR
18
19# Platform support files
20file	arch/algor/algor/algor_p4032_bus_io.c	algor_p4032
21file	arch/algor/algor/algor_p4032_bus_locio.c algor_p4032
22file	arch/algor/algor/algor_p4032_bus_mem.c	algor_p4032
23file	arch/algor/algor/algor_p4032_dma.c	algor_p4032
24file	arch/algor/algor/algor_p4032_intr.c	algor_p4032
25
26file	arch/algor/algor/algor_p5064_bus_io.c	algor_p5064
27file	arch/algor/algor/algor_p5064_bus_mem.c	algor_p5064
28file	arch/algor/algor/algor_p5064_dma.c	algor_p5064
29file	arch/algor/algor/algor_p5064_intr.c	algor_p5064
30
31file	arch/algor/algor/algor_p6032_bus_io.c	algor_p6032
32file	arch/algor/algor/algor_p6032_bus_mem.c	algor_p6032
33file	arch/algor/algor/algor_p6032_dma.c	algor_p6032
34file	arch/algor/algor/algor_p6032_intr.c	algor_p6032
35
36file	arch/algor/algor/autoconf.c
37file	arch/algor/algor/bus_dma.c
38file	arch/algor/algor/clock.c
39file	dev/clock_subr.c
40file	arch/algor/algor/conf.c
41file	arch/algor/algor/disksubr.c
42file	arch/algor/algor/interrupt.c
43file	arch/algor/algor/led.c
44file	arch/algor/algor/machdep.c
45file	arch/algor/algor/pmon.c
46
47#
48# The autoconfiguration root.
49#
50device	mainbus { [addr = -1] }
51attach	mainbus at root
52file	arch/algor/dev/mainbus.c		mainbus
53
54device	cpu
55attach	cpu at mainbus
56file	arch/algor/algor/cpu.c			cpu
57
58device	mcclock
59file	arch/algor/dev/mcclock.c		mcclock
60
61#
62# Machine-independent I2O drivers.
63#
64include "dev/i2o/files.i2o"
65
66#
67# Machine-independent SCSI drivers
68#
69include "dev/scsipi/files.scsipi"
70major { cd = 3 }
71major { sd = 8 }
72
73#
74# Machine-independent ATA drivers
75#
76include "dev/ata/files.ata"
77major { wd = 4 }
78
79#
80# Machine-independent WS console drivers
81#
82include "dev/wscons/files.wscons"
83
84#
85# Machine-independent PC-style keyboard controller drivers
86#
87include "dev/pckbc/files.pckbc"
88
89#
90# Machine-independent USB device support
91#
92include "dev/usb/files.usb"
93
94# Memory Disk
95file	dev/md_root.c				memory_disk_hooks
96major { md = 6 }
97
98# RAIDframe
99major { raid = 16 }
100
101# Logical disks
102major { ld = 17 }
103
104# Console glue.
105file	dev/cons.c
106
107include "dev/pci/files.pci"
108include "dev/isa/files.isa"
109
110#
111# PCI bus support.
112#
113device	vtpbc: pcibus
114file	arch/algor/pci/vtpbc.c			vtpbc
115
116attach	vtpbc at mainbus with vtpbc_mainbus
117file	arch/algor/dev/vtpbc_mainbus.c		vtpbc_mainbus
118
119device	bonito: pcibus
120file	arch/mips/bonito/bonito_pci.c		bonito
121file	arch/mips/bonito/bonito_iobc.c		bonito
122
123attach	bonito at mainbus with bonito_mainbus
124file	arch/algor/dev/bonito_mainbus.c		bonito_mainbus
125
126device	pcib: isabus
127attach	pcib at pci
128file	arch/algor/pci/pcib.c			pcib & (algor_p5064 |
129							algor_p6032)
130
131file	arch/algor/pci/pciide_machdep.c		pciide
132
133#
134# ISA bus support.
135#
136attach	mcclock at isa with mcclock_isa
137file	arch/algor/isa/mcclock_isa.c		mcclock_isa
138
139file	arch/algor/isa/isadma_bounce.c		isa & (algor_p5064 |
140							algor_p6032)
141
142# ISA speaker generates keyboard beep
143#device	isabeep
144#attach	isabeep at pcppi
145
146# Floppy disk controller
147device	fdc { drive = -1 }: isadma
148file	dev/isa/fd.c				fdc needs-flag
149
150attach	fdc at isa with fdc_isa
151file	dev/isa/fdc_isa.c			fdc_isa
152
153device	fd: disk
154attach	fd at fdc
155major	{ fd = 0 }
156
157# ISA Plug and Play devices
158file	arch/algor/isa/isapnp_machdep.c		isapnp
159
160# PCIC pcmcia controller
161defparam	PCIC_ISA_ALLOC_IOBASE
162defparam	PCIC_ISA_ALLOC_IOSIZE
163defparam	PCIC_ISA_INTR_ALLOC_MASK
164
165device	pcic: pcmciabus
166file	dev/ic/i82365.c				pcic
167
168# PCIC pcmcia controller on ISA bus.
169attach	pcic at isa with pcic_isa
170file	dev/isa/i82365_isa.c			pcic_isa
171
172# PCIC pcmcia controller on PnP board
173attach	pcic at isapnp with pcic_isapnp
174file	dev/isapnp/i82365_isapnp.c		pcic_isapnp
175
176# Code common to ISA and ISAPnP attachments
177file	dev/isa/i82365_isasubr.c		pcic_isa | pcic_isapnp
178
179# Machine-independent PCMCIA drivers
180include "dev/pcmcia/files.pcmcia"
181
182#
183# Devices on the P-4032 local I/O bus.
184#
185attach	mcclock at mainbus with mcclock_mainbus
186file	arch/algor/dev/mcclock_mainbus.c	mcclock_mainbus & algor_p4032
187
188attach	com at mainbus with com_mainbus
189file	arch/algor/dev/com_mainbus.c		com_mainbus & algor_p4032
190
191attach	lpt at mainbus with lpt_mainbus
192file	arch/algor/dev/lpt_mainbus.c		lpt_mainbus & algor_p4032
193