blob: ebe97434d357b1cbd82a06a8b2bd14926b25c2d3 (
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
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
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
|
# $OpenBSD: GENERIC,v 1.225 2022/02/20 19:25:57 kettenis Exp $
#
# GENERIC machine description file
#
# This machine description file is used to generate the default OpenBSD
# kernel. The generic kernel does not include all options, subsystems
# and device drivers, but should be useful for most applications.
#
# The machine description file can be customised for your specific
# machine to reduce the kernel size and improve its performance.
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page. For further information about kernel options
# for this architecture, see the options(4) man page. For an explanation
# of each device driver in this file see the section 4 man page for the
# device.
machine arm64
include "../../../conf/GENERIC"
maxusers 80
option PCIVERBOSE
option USER_PCICONF # user-space PCI configuration
option USBVERBOSE
makeoptions KERNEL_BASE_PHYS="0x00200000"
makeoptions KERNEL_BASE_VIRT="0xffffff8000200000"
config bsd swap generic
# The main bus device
mainbus0 at root
cpu0 at mainbus?
apm0 at mainbus?
efi0 at mainbus?
smbios0 at efi?
acpi0 at mainbus?
acpibtn* at acpi?
acpiec* at acpi?
acpige* at acpi?
acpimcfg* at acpi?
acpiiort* at acpi?
smmu* at acpiiort?
acpipci* at acpi?
pci* at acpipci?
acpipwrres* at acpi?
acpitz* at acpi?
ahci* at acpi?
ccp* at acpi? # AMD Cryptographic Co-processor
com* at acpi?
dwgpio* at acpi?
dwiic* at acpi?
iic* at dwiic?
ehci* at acpi?
ipmi* at acpi?
ohci* at acpi?
pluart* at acpi?
sdhc* at acpi?
xhci* at acpi?
simplebus* at fdt?
scsibus* at scsi?
sd* at scsibus?
st* at scsibus?
cd* at scsibus?
ch* at scsibus?
uk* at scsibus?
ampintc* at fdt? early 1
ampintcmsi* at fdt? early 1
agintc* at fdt? early 1
agintcmsi* at fdt? early 1
agtimer* at fdt?
ahci* at fdt?
dwge* at fdt?
dwpcie* at fdt?
pci* at dwpcie?
ohci* at fdt?
ehci* at fdt?
pciecam* at fdt?
pci* at pciecam?
sdhc* at fdt?
sdmmc* at sdhc?
bwfm* at sdmmc? # Broadcom FullMAC
smmu* at fdt?
xhci* at fdt?
ccp* at fdt? # AMD Cryptographic Co-processor
ipmi* at fdt?
# NS16550 compatible serial ports
com* at fdt?
# Generic devices
iicmux* at fdt?
iic* at iicmux?
pinctrl* at fdt? early 1
plgpio* at fdt? early 1
plrtc* at fdt?
pluart* at fdt?
psci* at fdt? early 1
pwmreg* at fdt? early 1
syscon* at fdt? early 1
pwmfan* at fdt?
virtio* at fdt?
virtio* at pci?
vio* at virtio?
vioblk* at virtio?
viomb* at virtio?
viornd* at virtio?
vioscsi* at virtio?
option WSDISPLAY_COMPAT_USL # VT handling
option WSDISPLAY_COMPAT_RAWKBD # provide raw scancodes; needed for X11
option WSDISPLAY_DEFAULTSCREENS=6 # initial number of text consoles
graphaudio* at fdt?
audio* at graphaudio?
simpleamp* at fdt?
simpleaudio* at fdt?
audio* at simpleaudio?
simplefb* at fdt?
wsdisplay* at simplefb?
simplepanel* at fdt?
pwmbl* at fdt? # PWM backlight
radeondrm* at pci?
drm* at radeondrm?
wsdisplay* at radeondrm?
amdgpu* at pci?
drm* at amdgpu?
wsdisplay* at amdgpu?
gpiocharger* at fdt?
gpiokeys* at fdt?
gpioleds* at fdt?
# Apple
aplcpu* at fdt?
apldart* at fdt? early 1
apldog* at fdt? early 1
apliic* at fdt?
iic* at apliic?
aplintc* at fdt? early 1
aplmbox* at fdt?
aplpcie* at fdt?
pci* at aplpcie?
aplpinctrl* at fdt? early 1
aplpmgr* at fdt? early 1
aplsmc* at fdt?
aplspi* at fdt?
aplhidev* at spi?
aplkbd* at aplhidev?
wskbd* at aplkbd? mux 1
aplms* at aplhidev?
wsmouse* at aplms? mux 0
aplspmi* at fdt?
aplpmu* at aplspmi?
exuart* at fdt?
aplns* at fdt? # Apple NVME Storage controllers
nvme* at aplns?
# iMX
imxccm* at fdt? early 1
imxiomuxc* at fdt? early 1
imxanatop* at fdt? early 1
imxsrc* at fdt? early 1
imxdog* at fdt?
imxdwusb* at fdt?
imxehci* at fdt?
usb* at imxehci?
imxgpc* at fdt?
imxgpio* at fdt?
fec* at fdt?
imxuart* at fdt?
imxiic* at acpi?
imxiic* at fdt?
iic* at imxiic?
bdpmic* at iic?
imxesdhc* at fdt?
sdmmc* at imxesdhc?
imxpciephy* at fdt?
imxpwm* at fdt?
imxspi* at fdt?
ssdfb* at iic?
ssdfb* at spi?
wsdisplay* at ssdfb?
imxtmu* at fdt?
# Raspberry Pi 3/4
bcmaux* at fdt? early 1
bcmbsc* at fdt?
iic* at bcmbsc?
bcmclock* at fdt? early 1
bcmdmac* at fdt? early 1
bcmdog* at fdt?
bcmgpio* at fdt? early 1
gpio* at bcmgpio?
bcmintc* at fdt? early 1
bcmirng* at fdt?
bcmmbox* at fdt? early 1
bcmpcie* at fdt?
pci* at bcmpcie?
bcmrng* at fdt?
bcmsdhost* at fdt?
sdmmc* at bcmsdhost?
bcmtemp* at fdt?
bcmtmon* at fdt? early 1
bse* at fdt?
bse* at acpi?
dwctwo* at fdt?
usb* at dwctwo?
# Amlogic SoCs
amlclock* at fdt? early 1
amldwusb* at fdt?
amliic* at fdt?
iic* at amliic?
amlmmc* at fdt?
sdmmc* at amlmmc?
amlpciephy* at fdt?
amlpinctrl* at fdt? early 1
amlpwm* at fdt?
amlpwrc* at fdt? early 1
amlreset* at fdt? early 1
amlrng* at fdt?
amlsm* at fdt? early 1
amltemp* at fdt?
amluart* at fdt?
amlusbphy* at fdt?
# HiSilicon SoCs
hiclock* at fdt? early 1
hidwusb* at fdt?
hireset* at fdt? early 1
hitemp* at fdt?
# Marvell SoCs
mvclock* at fdt? early 1
mvgicp* at fdt? early 1
mvicu* at fdt? early 1
mvpinctrl* at fdt? early 1
mvdog* at fdt?
mvgpio* at fdt?
mviic* at fdt?
iic* at mviic?
mvkpcie* at fdt?
pci* at mvkpcie?
mvmdio* at fdt?
mvneta* at fdt?
mvppc* at fdt?
mvpp* at mvppc?
mvrng* at fdt?
mvrtc* at fdt?
mvspi* at fdt?
moxtet* at spi?
mvsw* at fdt?
mvtemp* at fdt?
mvuart* at fdt?
sfp* at fdt?
# Rockchip SoCs
rkclock* at fdt? early 1
rkgrf* at fdt? early 1
rkpinctrl* at fdt? early 1
rktcphy* at fdt? early 1
rkanxdp* at fdt?
rkdrm* at fdt?
drm* at rkdrm?
wsdisplay* at rkdrm?
rkdwhdmi* at fdt?
rkemmcphy* at fdt?
rkgpio* at fdt?
rkiic* at fdt?
iic* at rkiic?
rkiis* at fdt?
rkpcie* at fdt?
pci* at rkpcie?
rkpwm* at fdt?
rkrng* at fdt?
rktemp* at fdt?
rkvop* at fdt?
rkdwusb* at fdt?
dwmmc* at fdt?
sdmmc* at dwmmc?
# Sunxi SoCs
sxipio* at fdt? early 1 # GPIO pins for leds & PHYs
gpio* at sxipio?
sxiccmu* at fdt? early 1 # Clock Control Module/Unit
sxidog* at fdt?
sxipwm* at fdt?
sxirsb* at fdt? early 1 # Reduced Serial Bus
axppmic* at rsb?
sxirtc* at fdt? early 1 # Real Time Clock
sximmc* at fdt? # SD/MMC card controller
sdmmc* at sximmc? # SD/MMC bus
sxisid* at fdt? early 1
sxisyscon* at fdt? early 1 # System controller
sxitemp* at fdt? # Temperature sensor
sxitwi* at fdt? early 1 # I2C controller
iic* at sxitwi? # I2C bus
dwxe* at fdt?
# PCI
ppb* at pci? # PCI-PCI bridges
pci* at ppb?
# PCI Ethernet
bnxt* at pci? # Broadcom BCM573xx, BCM574xx
bge* at pci? # Broadcom BCM57xx
em* at pci? # Intel Pro/1000 Ethernet
ix* at pci? # Intel 82598EB 10Gb Ethernet
ixl* at pci? # Intel Ethernet 700 Series
mcx* at pci? # Mellanox ConnectX-4/5 Ethernet
mskc* at pci? # Marvell Yukon-2
msk* at mskc? # each port of above
re* at pci? # Realtek 8169/8169S/8110S
rge* at pci? # Realtek 8125
vmx* at pci? # VMware VMXNET3 virtual interface
# PCI WiFi
athn* at pci? # Atheros AR9k (802.11a/g/n)
bwfm* at pci? # Broadcom FullMAC
iwx* at pci? # Intel WiFi Link 22xxx
# PCI SCSI
ahci* at pci? flags 0x0000 # AHCI SATA controllers
# flags 0x0001 to force SATA 1 (1.5Gb/s)
nvme* at pci? # NVMe controllers
mpi* at pci? # LSI Logic Fusion MPT Message Passing Interface
mpii* at pci? # LSI Fusion MPT Message Passing Interface II
mfi* at pci? # LSI MegaRAID SAS controllers
mfii* at pci? # LSI MegaRAID SAS Fusion controller
# USB Controllers
ohci* at pci? # Open Host Controller
uhci* at pci? # Universal Host Controller (Intel)
ehci* at pci? # Enhanced Host Controller
xhci* at pci? # eXtensible Host Controller
# USB bus support
usb* at ohci?
usb* at uhci?
usb* at ehci?
usb* at xhci?
# USB devices
uhub* at usb? # USB Hubs
uhub* at uhub? # USB Hubs
urng* at uhub? # USB Random Number Generator
uonerng* at uhub? # Moonbase Otago OneRNG
umodem* at uhub? # USB Modems/Serial
ucom* at umodem?
uvisor* at uhub? # Handspring Visor
ucom* at uvisor?
uvscom* at uhub? # SUNTAC Slipper U VS-10U serial
ucom* at uvscom?
ubsa* at uhub? # Belkin serial adapter
ucom* at ubsa?
uftdi* at uhub? # FTDI FT8U100AX serial adapter
ucom* at uftdi?
uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter
ucom* at uplcom?
umct* at uhub? # MCT USB-RS232 serial adapter
ucom* at umct?
uslcom* at uhub? # Silicon Laboratories CP210x serial
ucom* at uslcom?
uscom* at uhub? # Simple USB serial adapters
ucom* at uscom?
ucrcom* at uhub? # Chromebook serial
ucom* at ucrcom?
uark* at uhub? # Arkmicro ARK3116 serial
ucom* at uark?
moscom* at uhub? # MosChip MCS7703 serial
ucom* at moscom?
umcs* at uhub? # MosChip MCS78x0 serial
ucom* at umcs?
uipaq* at uhub? # iPAQ serial adapter
ucom* at uipaq?
umsm* at uhub? # Qualcomm MSM EVDO
ucom* at umsm?
uchcom* at uhub? # WinChipHead CH341/340 serial
ucom* at uchcom?
uticom* at uhub? # TI serial
ucom* at uticom?
uxrcom* at uhub? # Exar XR21V1410 serial
ucom* at uxrcom?
uaudio* at uhub? # USB Audio
audio* at uaudio?
umidi* at uhub? # USB MIDI
midi* at umidi?
ulpt* at uhub? # USB Printers
umass* at uhub? # USB Mass Storage devices
uhidev* at uhub? # Human Interface Devices
ums* at uhidev? # USB mouse
wsmouse* at ums? mux 0
umt* at uhidev? # USB multitouch touchpad
wsmouse* at umt? mux 0
uts* at uhub? # USB touchscreen
wsmouse* at uts? mux 0
uwacom* at uhidev? # USB Wacom tablet
wsmouse* at uwacom? mux 0
ukbd* at uhidev? # USB keyboard
wskbd* at ukbd? mux 1
ucycom* at uhidev? # Cypress serial
ucom* at ucycom?
uslhcom* at uhidev? # Silicon Labs CP2110 USB HID UART
ucom* at uslhcom?
uhid* at uhidev? # USB generic HID support
fido* at uhidev? # FIDO/U2F security key support
ucc* at uhidev? # Consumer Control keyboards
wskbd* at ucc? mux 1
ujoy* at uhidev? # USB joystick/gamecontroller support
uhidpp* at uhidev? # Logitech HID++ Devices
upd* at uhidev? # USB Power Devices sensors
aue* at uhub? # ADMtek AN986 Pegasus Ethernet
atu* at uhub? # Atmel AT76c50x based 802.11b
axe* at uhub? # ASIX Electronics AX88172 USB Ethernet
axen* at uhub? # ASIX Electronics AX88179 USB Ethernet
cue* at uhub? # CATC USB-EL1201A based Ethernet
kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet
smsc* at uhub? # SMSC LAN95xx Ethernet
cdce* at uhub? # CDC Ethernet
urndis* at uhub? # Remote NDIS Ethernet
upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network'
ugl* at uhub? # Genesys Logic GL620USB-A host-to-host `network'
udav* at uhub? # Davicom DM9601 based Ethernet
mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet
mue* at uhub? # Microchip LAN75xx/LAN78xx Ethernet
url* at uhub? # Realtek RTL8150L based adapters
ure* at uhub? # Realtek RTL8152 based adapters
wi* at uhub? # WaveLAN IEEE 802.11DS
udsbr* at uhub? # D-Link DSB-R100 radio
radio* at udsbr? # USB radio
uberry* at uhub? # Research In Motion BlackBerry
ugen* at uhub? # USB Generic driver
uath* at uhub? # Atheros AR5005UG/AR5005UX
ural* at uhub? # Ralink RT2500USB
rum* at uhub? # Ralink RT2501USB/RT2601USB
run* at uhub? # Ralink RT2700U/RT2800U/RT3000U
otus* at uhub? # Atheros AR9001U
athn* at uhub? # Atheros AR9002U
zyd* at uhub? # Zydas ZD1211
upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB
urtw* at uhub? # Realtek 8187
rsu* at uhub? # Realtek RTL8188SU/RTL8191SU/RTL8192SU
urtwn* at uhub? # Realtek RTL8188CU/RTL8192CU
udcf* at uhub? # Gude Expert mouseCLOCK
umb* at uhub? # Mobile Broadband Interface Model
uthum* at uhidev? # TEMPerHUM sensor
ugold* at uhidev? # gold TEMPer sensor
utrh* at uhidev? # USBRH sensor
utwitch* at uhidev? # YUREX BBU sensor
uow* at uhub? # Maxim/Dallas DS2490 1-Wire adapter
uoakrh* at uhidev? # Toradex OAK temp and rel humidity
uoaklux* at uhidev? # Toradex OAK LUX
uoakv* at uhidev? # Toradex OAK 10V sensor
onewire* at uow?
uvideo* at uhub? # USB Video
video* at uvideo?
utvfu* at uhub? # Fushicai Audio-Video Grabber
video* at utvfu?
audio* at utvfu?
udl* at uhub? # DisplayLink USB displays
wsdisplay* at udl?
bwfm* at uhub? # Broadcom FullMAC
amphy* at mii? # AMD 79C873 PHYs
atphy* at mii? # Attansic F1 PHYs
brgphy* at mii? # Broadcom Gigabit PHYs
eephy* at mii? # Marvell 88E1000 series PHY
rgephy* at mii? # Realtek 8169S/8110S PHY
rlphy* at mii? # Realtek 8139 internal PHYs
ukphy* at mii? # "unknown" PHYs
urlphy* at mii? # Realtek RTL8150L internal PHY
scsibus* at scsi?
sd* at scsibus?
cd* at scsibus?
st* at scsibus?
ch* at scsibus?
uk* at scsibus?
# I2C devices
abcrtc* at iic? # Abracon x80x RTC
axppmic* at iic? # AXP80x PMIC
cwfg* at iic? # CellWise CW201x fuel gauge
dsxrtc* at iic? # DS3231 RTC
escodec* at iic? # ES8316 audio codec
fanpwr* at iic? # FAN53555 regulator
fusbtc* at iic? # USB Type-C controller
ipmi* at iic? # IPMI (SIIF)
islrtc* at iic? # ISL1208 RTC
maxrtc* at iic? # DS1307 RTC
mcprtc* at iic? # MCP794XX RTC
mfokrtc* at iic? # M41T8X RTC
pcamux* at iic? # PCA9548 multiplexer
iic* at pcamux?
pcfrtc* at iic? # PCF8523 RTC
pcxrtc* at iic? # PCF8563 RTC
pcyrtc* at iic? # PCF85063A/TP RTC
rkpmic* at iic? # RK808 PMIC
sypwr* at iic? # SY8106A regulator
tcpci* at iic? # USB Type-C controller
# GPIO "pin bus" drivers
gpioiic* at gpio? # I2C bus bit-banging
iic* at gpioiic?
gpioow* at gpio? # 1-Wire bus bit-banging
onewire* at gpioow?
# 1-Wire devices
option ONEWIREVERBOSE
owid* at onewire? # ID
owsbm* at onewire? # Smart Battery Monitor
owtemp* at onewire? # Temperature
owctr* at onewire? # Counter device
# Pseudo-Devices
pseudo-device openprom
pseudo-device hotplug 1 # devices hot plugging
pseudo-device dt
# mouse & keyboard multiplexor pseudo-devices
pseudo-device wsmux 2
|