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 RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
37 device virtio # Generic VirtIO bus (required)
38 device virtio_pci # VirtIO PCI device
39 device vtnet # VirtIO Ethernet device
40 device virtio_blk # VirtIO Block device
41 device virtio_mmio # VirtIO MMIO bus
42 device virtio_random # VirtIO Entropy device
44 # NVM Express (NVMe) support
45 device nvme # base NVMe driver
46 options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver
47 device nvd # expose NVMe namespaces as disks, depends on nvme
49 # NOTE: dtrace introduces CDDL-licensed components into the kernel
50 device dtrace # dtrace core
51 device dtraceall # include all dtrace modules
54 device uart_lowrisc # lowRISC UART driver
55 device uart_ns8250 # ns8250-type UART driver
58 device da9063_rtc # Dialog Semiconductor DA9063 RTC
59 device goldfish_rtc # QEMU RTC
62 device xae # Xilinx AXI Ethernet MAC
65 device xdma # DMA interface
66 device axidma # Xilinx AXI DMA Controller
69 device xilinx_spi # Xilinx AXI Quad-SPI Controller
71 # Power management controllers
72 device da9063_pmic # Dialog Semiconductor DA9063 PMIC
74 # SiFive device drivers
79 files "../sifive/files.sifive"
81 # Flattened Device Tree
83 makeoptions MODULES_EXTRA+="dtb/sifive"
85 # FreeBSD/riscv didn't exist for these releases
86 nooptions COMPAT_FREEBSD4
87 nooptions COMPAT_FREEBSD5
88 nooptions COMPAT_FREEBSD6
89 nooptions COMPAT_FREEBSD7
90 nooptions COMPAT_FREEBSD9
91 nooptions COMPAT_FREEBSD10
92 nooptions COMPAT_FREEBSD11
94 # riscv doesn't support inb/outb, so disable chipset probing which needs it
95 nooptions PPC_PROBE_CHIPSET
97 # Makes assumptions about bus tags that aren't true on riscv
100 # Don't yet have hwpmc(4)
102 nooptions HWPMC_HOOKS
104 # riscv doesn't yet have atomic_testandset_int and atomic_testandclear_int.