summaryrefslogtreecommitdiff
path: root/sys/arch/algor/conf/files.algor
blob: ca7337c28bafd8a0063bb96d68c294950537d9a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
#	$NetBSD: files.algor,v 1.31 2014/07/20 10:22:54 alnsn Exp $

# Algorithmics evaluation board specific configuration info.

ifndef evbmips
# maxpartitions must be the first item in files.${ARCH}
maxpartitions 8

maxusers 8 16 64

# Platform support option headers.
defflag		ALGOR_P4032	# Algorithmics P-4032
defflag		ALGOR_P5064	# Algorithmics P-5064
defflag		ALGOR_P6032	# Algorithmics P-6032

# Various items that a buggy PMON might not provide us.
defparam	MEMSIZE
defparam	ETHADDR
endif

# Platform support files
file	arch/algor/algor/algor_p4032_bus_io.c	algor_p4032
file	arch/algor/algor/algor_p4032_bus_locio.c algor_p4032
file	arch/algor/algor/algor_p4032_bus_mem.c	algor_p4032
file	arch/algor/algor/algor_p4032_dma.c	algor_p4032
file	arch/algor/algor/algor_p4032_intr.c	algor_p4032

file	arch/algor/algor/algor_p5064_bus_io.c	algor_p5064
file	arch/algor/algor/algor_p5064_bus_mem.c	algor_p5064
file	arch/algor/algor/algor_p5064_dma.c	algor_p5064
file	arch/algor/algor/algor_p5064_intr.c	algor_p5064

file	arch/algor/algor/algor_p6032_bus_io.c	algor_p6032
file	arch/algor/algor/algor_p6032_bus_mem.c	algor_p6032
file	arch/algor/algor/algor_p6032_dma.c	algor_p6032
file	arch/algor/algor/algor_p6032_intr.c	algor_p6032

file	arch/algor/algor/autoconf.c
file	arch/algor/algor/algor_intr.c
file	arch/algor/algor/led.c
file	arch/algor/algor/machdep.c
file	arch/algor/algor/pmon.c

ifdef	evbmips
file	arch/evbmips/evbmips/interrupt.c
endif
file	arch/evbmips/evbmips/disksubr.c

file	arch/mips/mips/bus_dma.c
file	arch/mips/mips/mips3_clock.c
file	arch/mips/mips/mips3_clockintr.c

file	dev/bus_dma/bus_dmamem_common.c

#
# The autoconfiguration root.
#
device	mainbus { [addr = -1] }
attach	mainbus at root
file	arch/algor/dev/mainbus.c		mainbus

device	cpu
attach	cpu at mainbus
file	arch/evbmips/evbmips/cpu.c		cpu

device	mcclock: mc146818

#
# Stack-less Just-In-Time compiler
#
include	"external/bsd/sljit/conf/files.sljit"

#
# Machine-independent I2O drivers.
#
include "dev/i2o/files.i2o"

#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"

#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"

#
# Machine-independent PC-style keyboard controller drivers
#
include "dev/pckbport/files.pckbport"

#
# Machine-independent USB device support
#
include "dev/usb/files.usb"

# Memory Disk
file	dev/md_root.c				memory_disk_hooks

# Console glue.
ifndef	evbmips
file	dev/cons.c
endif

include "dev/pci/files.pci"
include "dev/isa/files.isa"

#
# PCI bus support.
#
device	vtpbc: pcibus
file	arch/algor/pci/vtpbc.c			vtpbc

attach	vtpbc at mainbus with vtpbc_mainbus
file	arch/algor/dev/vtpbc_mainbus.c		vtpbc_mainbus

include "arch/mips/conf/files.bonito"
file	arch/algor/dev/bonito_mainbus.c		bonito_mainbus

device	pcib: isabus
attach	pcib at pci
file	arch/algor/pci/pcib.c			pcib & (algor_p5064 |
							algor_p6032)

file	arch/mips/pci/pciide_machdep.c		pciide_common

#
# ISA bus support.
#
attach	mcclock at isa with mcclock_isa
file	arch/evbmips/isa/mcclock_isa.c		mcclock_isa

file	arch/evbmips/isa/isadma_bounce.c	isa & (algor_p5064|algor_p6032)

# ISA speaker generates keyboard beep
#device	isabeep
#attach	isabeep at pcppi

# Floppy disk controller
device	fdc { drive = -1 }: isadma
file	dev/isa/fd.c				fdc needs-flag

attach	fdc at isa with fdc_isa
file	dev/isa/fdc_isa.c			fdc_isa

device	fd: disk
attach	fd at fdc

# ISA Plug and Play devices
file	arch/algor/isa/isapnp_machdep.c		isapnp

# PCIC pcmcia controller
defparam	PCIC_ISA_ALLOC_IOBASE
defparam	PCIC_ISA_ALLOC_IOSIZE
defparam	PCIC_ISA_INTR_ALLOC_MASK

device	pcic: pcmciabus
file	dev/ic/i82365.c				pcic

# PCIC pcmcia controller on ISA bus.
attach	pcic at isa with pcic_isa
file	dev/isa/i82365_isa.c			pcic_isa

# PCIC pcmcia controller on PnP board
attach	pcic at isapnp with pcic_isapnp
file	dev/isapnp/i82365_isapnp.c		pcic_isapnp

# Code common to ISA and ISAPnP attachments
file	dev/isa/i82365_isasubr.c		pcic_isa | pcic_isapnp

# Machine-independent PCMCIA drivers
include "dev/pcmcia/files.pcmcia"

#
# Devices on the P-4032 local I/O bus.
#
attach	mcclock at mainbus with mcclock_mainbus
file	arch/algor/dev/mcclock_mainbus.c	mcclock_mainbus & algor_p4032

attach	com at mainbus with com_mainbus
file	arch/algor/dev/com_mainbus.c		com_mainbus & algor_p4032

attach	lpt at mainbus with lpt_mainbus
file	arch/algor/dev/lpt_mainbus.c		lpt_mainbus & algor_p4032

ifndef	evbmips
include	"arch/algor/conf/majors.algor"
endif