2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4 # This file contains machine dependent kernel configuration notes. For
5 # machine independent notes, look in /sys/conf/NOTES.
12 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
13 makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support
15 options PRINTF_BUFR_SIZE=128 # Prevent printf output being interspersed.
16 options KDTRACE_FRAME # Ensure frames are compiled in
17 options KDTRACE_HOOKS # Kernel DTrace hooks
18 options DDB_CTF # Kernel ELF linker loads CTF data
19 options FPE # Floating-point extension support
20 options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
21 options INTRNG # Include INTRNG framework
26 # EXT_RESOURCES pseudo devices
40 device virtio # Generic VirtIO bus (required)
41 device virtio_pci # VirtIO PCI device
42 device vtnet # VirtIO Ethernet device
43 device virtio_blk # VirtIO Block device
44 device virtio_mmio # VirtIO MMIO bus
45 device virtio_random # VirtIO Entropy device
47 # NVM Express (NVMe) support
48 device nvme # base NVMe driver
49 options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
50 device nvd # expose NVMe namespaces as disks, depends on nvme
52 # NOTE: dtrace introduces CDDL-licensed components into the kernel
53 device dtrace # dtrace core
54 device dtraceall # include all dtrace modules
57 device uart_lowrisc # lowRISC UART driver
58 device uart_ns8250 # ns8250-type UART driver
61 device goldfish_rtc # QEMU RTC
64 device xae # Xilinx AXI Ethernet MAC
67 device xdma # DMA interface
68 device axidma # Xilinx AXI DMA Controller
71 device xilinx_spi # Xilinx AXI Quad-SPI Controller
73 # SiFive device drivers
78 files "../sifive/files.sifive"
80 # Flattened Device Tree
82 makeoptions MODULES_EXTRA+="dtb/sifive"
84 # FreeBSD/riscv didn't exist for these releases
85 nooptions COMPAT_FREEBSD4
86 nooptions COMPAT_FREEBSD5
87 nooptions COMPAT_FREEBSD6
88 nooptions COMPAT_FREEBSD7
89 nooptions COMPAT_FREEBSD9
90 nooptions COMPAT_FREEBSD10
91 nooptions COMPAT_FREEBSD11
93 # No support for remote GDB
96 # riscv doesn't support inb/outb, so disable chipset probing which needs it
97 nooptions PPC_PROBE_CHIPSET
99 # Makes assumptions about bus tags that aren't true on riscv
102 # Don't yet have hwpmc(4)
104 nooptions HWPMC_HOOKS