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