From 576d71e383f10cde0de14da16baf98835d51ecec Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Tue, 16 Nov 2021 20:46:26 +0100 Subject: [PATCH] riscv: add COMPAT_FREEBSD12 option Turn on compat option for older FreeBSD versions (i.e. 12). We do not enable the compat options for 11 or older because riscv was never supported in those versions. Reviewed by: jrtc27 (previous version) MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33015 (cherry picked from commit 23e1961e78b0ac4d1cf03426d1a642962069f2b9) --- sys/riscv/conf/GENERIC | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC index 8c3162d6ae1..4ce3ffe059b 100644 --- a/sys/riscv/conf/GENERIC +++ b/sys/riscv/conf/GENERIC @@ -52,6 +52,7 @@ options TMPFS # Efficient memory filesystem options GEOM_PART_GPT # GUID Partition Tables. options GEOM_RAID # Soft RAID functionality. options GEOM_LABEL # Provides labelization +options COMPAT_FREEBSD12 # Compatible with FreeBSD12 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support