summaryrefslogtreecommitdiffstats
path: root/sys/arm64/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
committerandrew <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
commitad641a4bbd28b2e277b57dee8463f7831415c966 (patch)
tree31d48a5389c64929039caf9aaeb85e1bc8a1c5b4 /sys/arm64/conf
parent2642e0210146d8c08822ad425c735a57bc9af2c9 (diff)
downloadFreeBSD-src-ad641a4bbd28b2e277b57dee8463f7831415c966.zip
FreeBSD-src-ad641a4bbd28b2e277b57dee8463f7831415c966.tar.gz
Add an option to select which SoCs we are building for. It is intended to
be used with any SoC specific drivers, for example a ThunderX nic driver would use something like the following in files.arm64: arm64/cavium/thunder_nic.c optional soc_cavm_thunderx thndr_nic Reviewed by: imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D3479
Diffstat (limited to 'sys/arm64/conf')
-rw-r--r--sys/arm64/conf/GENERIC4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC
index 07d8b3c..b43841c 100644
--- a/sys/arm64/conf/GENERIC
+++ b/sys/arm64/conf/GENERIC
@@ -84,6 +84,9 @@ options WITNESS # Enable checks to detect deadlocks and cycles
options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
+# SoC support
+options SOC_CAVM_THUNDERX
+
# VirtIO support
device virtio
device virtio_mmio
@@ -92,7 +95,6 @@ device vtnet
# Bus drivers
device pci
-device thunder_pci
# Ethernet NICs
device em # Intel PRO/1000 Gigabit Ethernet Family
OpenPOWER on IntegriCloud