git: 18912b83861f - stable/13 - riscv: Add pass(4) to GENERIC kernel

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Tue, 01 Aug 2023 21:06:48 UTC
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=18912b83861fd0c70ed4709fd5d1173b71ae87b9

commit 18912b83861fd0c70ed4709fd5d1173b71ae87b9
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-05-03 04:14:57 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2023-08-01 20:42:53 +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
    
    (cherry picked from commit f78cc42f10cbfb5811276bc6827732ca32eb5485)
---
 sys/riscv/conf/GENERIC | 3 +++
 1 file changed, 3 insertions(+)

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