git: f78cc42f10cb - main - riscv: Add pass(4) to GENERIC kernel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 May 2023 04:15:35 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=f78cc42f10cbfb5811276bc6827732ca32eb5485
commit f78cc42f10cbfb5811276bc6827732ca32eb5485
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-05-03 04:14:57 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-05-03 04:14:57 +0000
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
---
sys/riscv/conf/GENERIC | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 04645ec9bf90..9465b2712b2e 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -101,6 +101,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