git: c31b7fd8b294 - stable/12 - riscv: add COMPAT_FREEBSD12 option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Nov 2021 16:58:46 UTC
The branch stable/12 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=c31b7fd8b294e64b285898ffbfb613b178948126
commit c31b7fd8b294e64b285898ffbfb613b178948126
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-11-16 19:46:26 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-11-24 16:57:23 +0000
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 4982c48ece39..5cba4cc2f94f 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -51,6 +51,7 @@ options PSEUDOFS # Pseudo-filesystem framework
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