aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2023-05-03 04:14:57 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2023-08-01 20:42:53 +0000
commit18912b83861fd0c70ed4709fd5d1173b71ae87b9 (patch)
tree9111d448b92d92a49991ba0df6fc6c0a3115070b
parente7f1ba7f6726049b264a4b1f7b838ab85a4cc265 (diff)
downloadsrc-18912b83861fd0c70ed4709fd5d1173b71ae87b9.tar.gz
src-18912b83861fd0c70ed4709fd5d1173b71ae87b9.zip
riscv: Add pass(4) to GENERIC kernel
Whilst we don't have ahci(4) currently, we do have umass(4), and need pass(4) for smartctl(8) to be able to talk to such devices. Reported by: David Gilbert <dgilbert@daveg.ca> MFC after: 1 week (cherry picked from commit f78cc42f10cbfb5811276bc6827732ca32eb5485)
-rw-r--r--sys/riscv/conf/GENERIC3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 5d58db775507..8cd6f78a8ef1 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -104,6 +104,9 @@ device vtnet # VirtIO Ethernet device
device virtio_blk # VirtIO Block device
device virtio_mmio # VirtIO MMIO bus
+# ATA/SCSI peripherals
+device pass # Passthrough device (direct ATA/SCSI access)
+
# NVM Express (NVMe) support
device nvme # base NVMe driver
options NVME_USE_NVD=0 # prefer the cam(4) based nda(4) driver