1# $OpenBSD: GENERIC,v 1.42 2023/01/24 13:28:31 jca 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? 86 87dwmmc* at fdt? 88sdmmc* at dwmmc? 89 90dwpcie* at fdt? 91pci* at dwpcie? 92pciecam* at fdt? 93pci* at pciecam? 94 95ociic* at fdt? 96iic* at ociic? 97dapmic* at iic? 98titmp* at iic? 99 100xhci* at fdt? 101 102# PCI 103ppb* at pci? # PCI-PCI bridges 104pci* at ppb? 105 106# DRM devices 107radeondrm* at pci? 108drm* at radeondrm? 109wsdisplay* at radeondrm? 110 111# PCI Ethernet 112em* at pci? # Intel Pro/1000 Ethernet 113bge* at pci? # Broadcom BCM57xx (aka Tigon3) 114oce* at pci? # Emulex OneConnect 10Gb ethernet 115aq* at pci? # Aquantia aQtion Ethernet 116ix* at pci? # Intel 82598EB 10Gb ethernet 117ixl* at pci? # Intel Ethernet 700 Series 118igc* at pci? # Intel I225 Ethernet 119 120# Wireless network cards 121iwm* at pci? # Intel WiFi Link 7xxx 122 123nvme* at pci? # NVMe controllers 124ahci* at pci? # AHCI SATA controllers 125 126scsibus* at scsi? 127sd* at scsibus? 128cd* at scsibus? 129ch* at scsibus? 130uk* at scsibus? 131 132# USB Controllers 133xhci* at pci? 134 135# USB bus support 136usb* at xhci? 137 138# USB devices 139uhub* at usb? # USB Hubs 140uhub* at uhub? # USB Hubs 141urng* at uhub? # USB Random Number Generator 142uonerng* at uhub? # Moonbase Otago OneRNG 143umodem* at uhub? # USB Modems/Serial 144ucom* at umodem? 145uvisor* at uhub? # Handspring Visor 146ucom* at uvisor? 147uvscom* at uhub? # SUNTAC Slipper U VS-10U serial 148ucom* at uvscom? 149ubsa* at uhub? # Belkin serial adapter 150ucom* at ubsa? 151uftdi* at uhub? # FTDI FT8U100AX serial adapter 152ucom* at uftdi? 153uplcom* at uhub? # I/O DATA USB-RSAQ2 serial adapter 154ucom* at uplcom? 155umct* at uhub? # MCT USB-RS232 serial adapter 156ucom* at umct? 157uslcom* at uhub? # Silicon Laboratories CP210x serial 158ucom* at uslcom? 159uscom* at uhub? # Simple USB serial adapters 160ucom* at uscom? 161ucrcom* at uhub? # Chromebook serial 162ucom* at ucrcom? 163uark* at uhub? # Arkmicro ARK3116 serial 164ucom* at uark? 165moscom* at uhub? # MosChip MCS7703 serial 166ucom* at moscom? 167umcs* at uhub? # MosChip MCS78x0 serial 168ucom* at umcs? 169uipaq* at uhub? # iPAQ serial adapter 170ucom* at uipaq? 171umsm* at uhub? # Qualcomm MSM EVDO 172ucom* at umsm? 173uchcom* at uhub? # WinChipHead CH341/340 serial 174ucom* at uchcom? 175uticom* at uhub? # TI serial 176ucom* at uticom? 177uxrcom* at uhub? # Exar XR21V1410 serial 178ucom* at uxrcom? 179uaudio* at uhub? # USB Audio 180audio* at uaudio? 181umidi* at uhub? # USB MIDI 182midi* at umidi? 183ulpt* at uhub? # USB Printers 184umass* at uhub? # USB Mass Storage devices 185uhidev* at uhub? # Human Interface Devices 186ums* at uhidev? # USB mouse 187wsmouse* at ums? mux 0 188umt* at uhidev? # USB multitouch touchpad 189wsmouse* at umt? mux 0 190uts* at uhub? # USB touchscreen 191wsmouse* at uts? mux 0 192uwacom* at uhidev? # USB Wacom tablet 193wsmouse* at uwacom? mux 0 194ukbd* at uhidev? # USB keyboard 195wskbd* at ukbd? mux 1 196ucycom* at uhidev? # Cypress serial 197ucom* at ucycom? 198uslhcom* at uhidev? # Silicon Labs CP2110 USB HID UART 199ucom* at uslhcom? 200uhid* at uhidev? # USB generic HID support 201fido* at uhidev? # FIDO/U2F security key support 202ucc* at uhidev? # Consumer Control keyboards 203wskbd* at ucc? mux 1 204ujoy* at uhidev? # USB joystick/gamecontroller support 205uhidpp* at uhidev? # Logitech HID++ Devices 206upd* at uhidev? # USB Power Devices sensors 207aue* at uhub? # ADMtek AN986 Pegasus Ethernet 208atu* at uhub? # Atmel AT76c50x based 802.11b 209axe* at uhub? # ASIX Electronics AX88172 USB Ethernet 210axen* at uhub? # ASIX Electronics AX88179 USB Ethernet 211cue* at uhub? # CATC USB-EL1201A based Ethernet 212kue* at uhub? # Kawasaki KL5KUSB101B based Ethernet 213smsc* at uhub? # SMSC LAN95xx Ethernet 214cdce* at uhub? # CDC Ethernet 215urndis* at uhub? # Remote NDIS Ethernet 216upl* at uhub? # Prolific PL2301/PL2302 host-to-host `network' 217ugl* at uhub? # Genesys Logic GL620USB-A host-to-host `network' 218udav* at uhub? # Davicom DM9601 based Ethernet 219mos* at uhub? # MOSCHIP MCS7730/7830 10/100 Ethernet 220mue* at uhub? # Microchip LAN75xx/LAN78xx Ethernet 221url* at uhub? # Realtek RTL8150L based adapters 222ure* at uhub? # Realtek RTL8152 based adapters 223wi* at uhub? # WaveLAN IEEE 802.11DS 224udsbr* at uhub? # D-Link DSB-R100 radio 225radio* at udsbr? # USB radio 226uberry* at uhub? # Research In Motion BlackBerry 227ugen* at uhub? # USB Generic driver 228uath* at uhub? # Atheros AR5005UG/AR5005UX 229ural* at uhub? # Ralink RT2500USB 230rum* at uhub? # Ralink RT2501USB/RT2601USB 231run* at uhub? # Ralink RT2700U/RT2800U/RT3000U 232mtw* at uhub? # MediaTek MT7601U 233otus* at uhub? # Atheros AR9001U 234athn* at uhub? # Atheros AR9002U 235zyd* at uhub? # Zydas ZD1211 236upgt* at uhub? # Conexant/Intersil PrismGT SoftMAC USB 237urtw* at uhub? # Realtek 8187 238rsu* at uhub? # Realtek RTL8188SU/RTL8191SU/RTL8192SU 239urtwn* at uhub? # Realtek RTL8188CU/RTL8192CU 240udcf* at uhub? # Gude Expert mouseCLOCK 241umb* at uhub? # Mobile Broadband Interface Model 242uthum* at uhidev? # TEMPerHUM sensor 243ugold* at uhidev? # gold TEMPer sensor 244utrh* at uhidev? # USBRH sensor 245utwitch* at uhidev? # YUREX BBU sensor 246uoakrh* at uhidev? # Toradex OAK temp and rel humidity 247uoaklux* at uhidev? # Toradex OAK LUX 248uoakv* at uhidev? # Toradex OAK 10V sensor 249uvideo* at uhub? # USB Video 250video* at uvideo? 251utvfu* at uhub? # Fushicai Audio-Video Grabber 252video* at utvfu? 253audio* at utvfu? 254udl* at uhub? # DisplayLink USB displays 255wsdisplay* at udl? 256bwfm* at uhub? # Broadcom FullMAC 257 258acphy* at mii? # Altima AC101 PHYs 259amphy* at mii? # AMD 79C873 PHYs 260atphy* at mii? # Attansic F1 PHYs 261bmtphy* at mii? # Broadcom 10/100 PHYs 262brgphy* at mii? # Broadcom Gigabit PHYs 263eephy* at mii? # Marvell 88E1000 series PHY 264rgephy* at mii? # Realtek 8169S/8110S PHY 265rlphy* at mii? # Realtek 8139 internal PHYs 266sqphy* at mii? # Seeq 8x220 PHYs 267ukphy* at mii? # "unknown" PHYs 268urlphy* at mii? # Realtek RTL8150L internal PHY 269 270# Pseudo-Devices 271pseudo-device openprom 272pseudo-device hotplug 1 # devices hot plugging 273 274# mouse & keyboard multiplexor pseudo-devices 275pseudo-device wsmux 2 276