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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
|
# $OpenBSD: files.i386,v 1.42 1998/06/02 18:46:34 deraadt Exp $
# $NetBSD: files.i386,v 1.73 1996/05/07 00:58:36 thorpej Exp $
#
# new style config file for i386 architecture
#
# maxpartitions must be first item in files.${ARCH}
maxpartitions 16
maxusers 2 16 64
major {ccd = 16}
file arch/i386/i386/autoconf.c
file arch/i386/i386/conf.c
file arch/i386/i386/db_disasm.c ddb
file arch/i386/i386/db_interface.c ddb
file arch/i386/i386/db_trace.c ddb
file arch/i386/i386/db_magic.s ddb
file arch/i386/i386/disksubr.c disk
file arch/i386/i386/gdt.c
file arch/i386/i386/in_cksum.s inet
file arch/i386/i386/ipx_cksum.c ipx
file arch/i386/i386/machdep.c
file arch/i386/i386/math_emulate.c math_emulate
file arch/i386/i386/mem.c
file arch/i386/i386/microtime.s
file arch/i386/i386/ns_cksum.c ns
file arch/i386/i386/pmap.c
file arch/i386/i386/process_machdep.c
file arch/i386/i386/random.s
file arch/i386/i386/sys_machdep.c
file arch/i386/i386/trap.c
file arch/i386/i386/vm_machdep.c
file arch/i386/i386/dkcsum.c bios
file lib/libz/adler32.c !ppp_deflate
file dev/cons.c
file dev/cninit.c
major {vnd = 14}
#
# Machine-independent SCSI drivers
#
include "../../../scsi/files.scsi"
major {sd = 4}
major {st = 5}
major {cd = 6}
# RAM Disk for install floppy
pseudo-device rd
file dev/ramdisk.c rd needs-flag
file arch/i386/i386/rd_root.c ramdisk_hooks
major {rd = 17}
#
# Machine-independent ATAPI drivers
#
include "../../../dev/atapi/files.atapi"
#
# System bus types
#
define mainbus { }
device mainbus: isabus, eisabus, pcibus, mainbus
attach mainbus at root
file arch/i386/i386/mainbus.c mainbus
#device mca at root {...}
#
# PCI-only drivers
# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
# XXX devices to 'pci'.
#
include "../../../dev/pci/files.pci"
file arch/i386/pci/pci_machdep.c pci
file arch/i386/pci/pci_compat.c pci # XXX compatibility
# PCI-Host bridge chipsets
device pchb: pcibus
attach pchb at pci
file arch/i386/pci/pchb.c pchb
#
# Pcmcia, before ISA (to define device stuff)
#
include "../../../dev/pcmcia/files.pcmcia"
#
# ISA and mixed ISA+EISA or ISA+PCI or ISA+PCMCIA drivers
#
major {mcd = 7}
#major {scd = 15}
major {wd = 0}
major {wt = 3}
include "../../../dev/isa/files.isa"
file arch/i386/isa/isa_machdep.c isabus
# PC clock
file arch/i386/isa/clock.c isabus
# Numeric Processing Extension; Math Co-processor
device npx
attach npx at isa
file arch/i386/isa/npx.c npx needs-flag
# Linux/GNU i387 floating point emulator
include "../../../gnu/arch/i386/fpemul/files.fpemul"
# attribute used to represent the "keyboard controller"
# XXX should be a real device
define pckbd { [irq = -1], [port = -1] }
# 8250/16[45]50-based "com" ports, optimized for the i386 interrupt system
device pccom: tty
attach pccom at isa with pccom_isa
attach pccom at commulti with pccom_commulti
attach pccom at pcmcia with pccom_pcmcia
file arch/i386/isa/pccom.c pccom & (pccom_isa | pccom_isapnp | pccom_commulti | pccom_pcmcia) needs-flag
# PC console support a la "pccons"
device pc: tty, pckbd
attach pc at isa
file arch/i386/isa/pccons.c pc needs-flag
# PC console support a la "pcvt"
device vt: tty, pckbd
attach vt at isa
file arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag
file arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag
file arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag
file arch/i386/isa/pcvt/pcvt_out.c vt needs-flag
file arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag
file arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag
# PC Mice; Logitech-style, Microsoft-style, and PS/2-style
device lms
attach lms at isa
file arch/i386/isa/lms.c lms needs-flag
device mms
attach mms at isa
file arch/i386/isa/mms.c mms needs-flag
device pms
attach pms at pckbd
file arch/i386/isa/pms.c pms needs-flag
# Floppy disk controller
# XXX temporarily conflicts with arc, will soon move to files.isa
device fdc {drive = -1}
attach fdc at isa
device fd: disk, isa_dma
attach fd at fdc
file dev/isa/fdc.c fdc needs-flag
file dev/isa/fd.c fd needs-flag
major {fd = 2}
# PC speaker
device spkr: tty
attach spkr at pckbd
file arch/i386/isa/spkr.c spkr needs-flag
# National Semiconductor DS8390/WD83C690-based boards
# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
# XXX conflicts with other ports; can't be in files.isa
device ed: ether, ifnet
attach ed at isa with ed_isa
attach ed at pcmcia with ed_pcmcia
attach ed at pci with ed_pci
file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag
# Adaptec AHA-284x VL SCSI controllers
# device declaration in sys/conf/files
attach ahc at isa with ahc_isa
file arch/i386/isa/ahc_isa.c ahc_isa
# Pentium performance counters
pseudo-device pctr
file arch/i386/i386/pctr.c pctr needs-flag
#
# EISA-only drivers
#
include "../../../dev/eisa/files.eisa"
file arch/i386/eisa/eisa_machdep.c eisa
#
# ISA PnP
#
include "../../../dev/isa/files.isapnp"
file arch/i386/isa/isapnp_machdep.c isapnp
attach pccom at isapnp with pccom_isapnp
# Game adapter (joystick)
device joy
file arch/i386/isa/joy.c joy needs-flag
attach joy at isa with joy_isa
file arch/i386/isa/joy_isa.c joy_isa
attach joy at isapnp with joy_isapnp
file arch/i386/isa/joy_isapnp.c joy_isapnp
#
# Compatibility modules
#
# VM86 mode
file arch/i386/i386/vm86.c vm86
# SVR4 binary compatibility (COMPAT_SVR4)
include "../../../compat/svr4/files.svr4"
file arch/i386/i386/svr4_machdep.c compat_svr4
# iBCS-2 binary compatibility (COMPAT_IBCS2)
include "../../../compat/ibcs2/files.ibcs2"
# Linux binary compatibility (COMPAT_LINUX)
include "../../../compat/linux/files.linux"
file arch/i386/i386/linux_machdep.c compat_linux
# BSD/OS binary compatibility (COMPAT_BSDOS)
include "../../../compat/bsdos/files.bsdos"
# FreeBSD binary compatibility (COMPAT_FREEBSD)
include "../../../compat/freebsd/files.freebsd"
file arch/i386/i386/freebsd_machdep.c compat_freebsd
# OSS audio driver compatibility
include "../../../compat/ossaudio/files.ossaudio"
device bios {}
attach bios at mainbus
file arch/i386/i386/bios.c bios needs-count
device apm
attach apm at bios
file arch/i386/i386/apm.c apm needs-count
|