1# $OpenBSD: GENERIC,v 1.43 2023/07/04 13:04:08 kettenis Exp $ 2# 3# For further information on compiling OpenBSD kernels, see the config(8) 4# man page. 5# 6# For further information on hardware support for this architecture, see 7# the intro(4) man page. For further information about kernel options 8# for this architecture, see the options(4) man page. For an explanation 9# of each device driver in this file see the section 4 man page for the 10# device. 11 12machine riscv64 13include "../../../conf/GENERIC" 14maxusers 80 15 16option PCIVERBOSE 17option USER_PCICONF 18 19makeoptions KERNEL_BASE_PHYS="0x00200000" 20makeoptions KERNEL_BASE_VIRT="0xffffffc000200000" 21#option DEBUG 22#option DEBUG_AUTOCONF 23#option DEBUG_INTC 24#option DEBUG_TIMER 25 26option WSDISPLAY_COMPAT_USL 27option WSDISPLAY_COMPAT_RAWKBD 28option WSDISPLAY_DEFAULTSCREENS=6 29 30 31config bsd swap generic 32 33# 34# Definition of system 35# 36 37# mainbus 38mainbus0 at root 39 40# cpu0 41cpu0 at mainbus0 42intc0 at cpu0 43 44# NS16550 compatible serial ports 45com* at fdt? 46 47# PolarFire SoCs 48cdsdhc* at fdt? 49sdmmc* at cdsdhc? 50mpfclock* at fdt? early 1 51mpfgpio* at fdt? 52gpio* at mpfgpio? 53mpfiic* at fdt? 54iic* at mpfiic? 55 56# SiFive SoCs 57sfclock* at fdt? early 1 # PRCI 58sfcc* at fdt? early 1 # L2 Cache Controller 59sfgpio* at fdt? 60sfuart* at fdt? 61 62# StarFive SoCs 63stfclock* at fdt? early 1 64stfpinctrl* at fdt? early 1 65stftemp* at fdt? 66 67virtio* at fdt? 68virtio* at pci? 69vio* at virtio? # Network 70vioblk* at virtio? 71vioscsi* at virtio? # Disk (SCSI) 72#viomb* at virtio? # Memory Ballooning 73viornd* at virtio? # Random Source 74 75# simplebus0 76simplebus* at fdt? 77# Platform Level Interrupt Controller 78plic* at fdt? early 1 79 80syscon* at fdt? early 1 81gfrtc* at fdt? 82gpiorestart* at fdt? 83 84cad* at fdt? 85dwge* at fdt? 86dwqe* at fdt? 87 88dwmmc* at fdt? 89sdmmc* at dwmmc? 90 91dwpcie* at fdt? 92pci* at dwpcie? 93pciecam* at fdt? 94pci* at pciecam? 95 96ociic* at fdt? 97iic* at ociic? 98dapmic* at iic? 99titmp* at iic? 100 101xhci* at fdt? 102 103# PCI 104ppb* at pci? # PCI-PCI bridges 105pci* at ppb? 106 107# DRM devices 108radeondrm* at pci? 109drm* at radeondrm? 110wsdisplay* at radeondrm? 111 112# PCI Ethernet 113em* at pci? # Intel Pro/1000 Ethernet 114bge* at pci? # Broadcom BCM57xx (aka Tigon3) 115oce* at pci? # Emulex OneConnect 10Gb ethernet 116aq* at pci? # Aquantia aQtion Ethernet 117ix* at pci? # Intel 82598EB 10Gb ethernet 118ixl* at pci? # Intel Ethernet 700 Series 119igc* at pci? # Intel I225 Ethernet 120 121# Wireless network cards 122iwm* at pci? # Intel WiFi Link 7xxx 123 124nvme* at pci? # NVMe controllers 125ahci* at pci? # AHCI SATA controllers 126 127scsibus* at scsi? 128sd* at scsibus? 129cd* at scsibus? 130ch* at scsibus? 131uk* at scsibus? 132 133# USB Controllers 134xhci* at pci? 135 136# USB bus support 137usb* at xhci? 138 139# USB devices 140uhub* at usb? # USB Hubs 141uhub* at uhub? # USB Hubs 142urng* at uhub? # USB Random Number Generator 143uonerng* at uhub? # Moonbase Otago OneRNG 144umodem* at uhub? # USB Modems/Serial 145ucom* at umodem? 146uvisor* at uhub? # Handspring Visor 147ucom* at uvisor? 148uvscom* at uhub? # SUNTAC Slipper U VS-10U serial 149ucom* at uvscom? 150ubsa* at uhub? # Belkin serial adapter 151ucom* at ubsa? 152uftdi* at uhub? # FTDI FT8U100AX serial adapter 153ucom* at uftdi? 154uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter 155ucom* at uplcom? 156umct* at uhub? # MCT USB-RS232 serial adapter 157ucom* at umct? 158uslcom* at uhub? # Silicon Laboratories CP210x serial 159ucom* at uslcom? 160uscom* at uhub? # Simple USB serial adapters 161ucom* at uscom? 162ucrcom* at uhub? # Chromebook serial 163ucom* at ucrcom? 164uark* at uhub? # Arkmicro ARK3116 serial 165ucom* at uark? 166moscom* at uhub? # MosChip MCS7703 serial 167ucom* at moscom? 168umcs* at uhub? # MosChip MCS78x0 serial 169ucom* at umcs? 170uipaq* at uhub? # iPAQ serial adapter 171ucom* at uipaq? 172umsm* at uhub? # Qualcomm MSM EVDO 173ucom* at umsm? 174uchcom* at uhub? # WinChipHead CH341/340 serial 175ucom* at uchcom? 176uticom* at uhub? # TI serial 177ucom* at uticom? 178uxrcom* at uhub? # Exar XR21V1410 serial 179ucom* at uxrcom? 180uaudio* at uhub? # USB Audio 181audio* at uaudio? 182umidi* at uhub? # USB MIDI 183midi* at umidi? 184ulpt* at uhub? # USB Printers 185umass* at uhub? # USB Mass Storage devices 186uhidev* at uhub? # Human Interface Devices 187ums* at uhidev? # USB mouse 188wsmouse* at ums? mux 0 189umt* at uhidev? # USB multitouch touchpad 190wsmouse* at umt? mux 0 191uts* at uhub? # USB touchscreen 192wsmouse* at uts? mux 0 193uwacom* at uhidev? # USB Wacom tablet 194wsmouse* at uwacom? mux 0 195ukbd* at uhidev? # USB keyboard 196wskbd* at ukbd? mux 1 197ucycom* at uhidev? # Cypress serial 198ucom* at ucycom? 199uslhcom* at uhidev? # Silicon Labs CP2110 USB HID UART 200ucom* at uslhcom? 201uhid* at uhidev? # USB generic HID support 202fido* at uhidev? # FIDO/U2F security key support 203ucc* at uhidev? # Consumer Control keyboards 204wskbd* at ucc? mux 1 205ujoy* at uhidev? # USB joystick/gamecontroller support 206uhidpp* at uhidev? # Logitech HID++ Devices 207upd* at uhidev? # USB Power Devices sensors 208aue* at uhub? # ADMtek AN986 Pegasus Ethernet 209atu* at uhub? # Atmel AT76c50x based 802.11b 210axe* at uhub? # ASIX Electronics AX88172 USB Ethernet 211axen* at uhub? # ASIX Electronics AX88179 USB Ethernet 212cue* at uhub? # CATC USB-EL1201A based Ethernet 213kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet 214smsc* at uhub? # SMSC LAN95xx Ethernet 215cdce* at uhub? # CDC Ethernet 216urndis* at uhub? # Remote NDIS Ethernet 217upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network' 218ugl* at uhub? # Genesys Logic GL620USB-A host-to-host `network' 219udav* at uhub? # Davicom DM9601 based Ethernet 220mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet 221mue* at uhub? # Microchip LAN75xx/LAN78xx Ethernet 222url* at uhub? # Realtek RTL8150L based adapters 223ure* at uhub? # Realtek RTL8152 based adapters 224wi* at uhub? # WaveLAN IEEE 802.11DS 225udsbr* at uhub? # D-Link DSB-R100 radio 226radio* at udsbr? # USB radio 227uberry* at uhub? # Research In Motion BlackBerry 228ugen* at uhub? # USB Generic driver 229uath* at uhub? # Atheros AR5005UG/AR5005UX 230ural* at uhub? # Ralink RT2500USB 231rum* at uhub? # Ralink RT2501USB/RT2601USB 232run* at uhub? # Ralink RT2700U/RT2800U/RT3000U 233mtw* at uhub? # MediaTek MT7601U 234otus* at uhub? # Atheros AR9001U 235athn* at uhub? # Atheros AR9002U 236zyd* at uhub? # Zydas ZD1211 237upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB 238urtw* at uhub? # Realtek 8187 239rsu* at uhub? # Realtek RTL8188SU/RTL8191SU/RTL8192SU 240urtwn* at uhub? # Realtek RTL8188CU/RTL8192CU 241udcf* at uhub? # Gude Expert mouseCLOCK 242umb* at uhub? # Mobile Broadband Interface Model 243uthum* at uhidev? # TEMPerHUM sensor 244ugold* at uhidev? # gold TEMPer sensor 245utrh* at uhidev? # USBRH sensor 246utwitch* at uhidev? # YUREX BBU sensor 247uoakrh* at uhidev? # Toradex OAK temp and rel humidity 248uoaklux* at uhidev? # Toradex OAK LUX 249uoakv* at uhidev? # Toradex OAK 10V sensor 250uvideo* at uhub? # USB Video 251video* at uvideo? 252utvfu* at uhub? # Fushicai Audio-Video Grabber 253video* at utvfu? 254audio* at utvfu? 255udl* at uhub? # DisplayLink USB displays 256wsdisplay* at udl? 257bwfm* at uhub? # Broadcom FullMAC 258 259acphy* at mii? # Altima AC101 PHYs 260amphy* at mii? # AMD 79C873 PHYs 261atphy* at mii? # Attansic F1 PHYs 262bmtphy* at mii? # Broadcom 10/100 PHYs 263brgphy* at mii? # Broadcom Gigabit PHYs 264eephy* at mii? # Marvell 88E1000 series PHY 265rgephy* at mii? # Realtek 8169S/8110S PHY 266rlphy* at mii? # Realtek 8139 internal PHYs 267sqphy* at mii? # Seeq 8x220 PHYs 268ukphy* at mii? # "unknown" PHYs 269urlphy* at mii? # Realtek RTL8150L internal PHY 270 271# Pseudo-Devices 272pseudo-device openprom 273pseudo-device hotplug 1 # devices hot plugging 274 275# mouse & keyboard multiplexor pseudo-devices 276pseudo-device wsmux 2 277