Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2025 17:21:50 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 22b4023cba4e - stable/14 - mpi3mr: Set Driver Capability for OS Exposure in IOCInit
Message-ID:  <202504301721.53UHLoq1095246@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=22b4023cba4e40520090eefff5bdf8b841f754a8

commit 22b4023cba4e40520090eefff5bdf8b841f754a8
Author:     Chandrakanth patil <chandrakanth.patil@broadcom.com>
AuthorDate: 2025-04-27 23:34:12 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-04-30 17:05:52 +0000

    mpi3mr: Set Driver Capability for OS Exposure in IOCInit
    
    This patch updates the driver to set the OSExposure field in DriverCapability
    during IOCInit to MPI3_IOCINIT_DRIVERCAP_OSEXPOSURE_NO_SPECIAL(0x1), aligning
    with the latest MPI specification version 36.
    
    Reviewed by:    ssaxena, imp
    Differential Revision:  https://reviews.freebsd.org/D49745
    
    (cherry picked from commit d14c4ea0caebb9d0ddb613e348cb8c1a19e8d8fc)
---
 sys/dev/mpi3mr/mpi3mr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/mpi3mr/mpi3mr.c b/sys/dev/mpi3mr/mpi3mr.c
index 8c4bd3c3ad35..cbf87f99faec 100644
--- a/sys/dev/mpi3mr/mpi3mr.c
+++ b/sys/dev/mpi3mr/mpi3mr.c
@@ -2146,7 +2146,7 @@ static int mpi3mr_issue_iocinit(struct mpi3mr_softc *sc)
 	strcpy(drvr_info->DriverName, MPI3MR_DRIVER_NAME);
 	strcpy(drvr_info->DriverVersion, MPI3MR_DRIVER_VERSION);
 	strcpy(drvr_info->DriverReleaseDate, MPI3MR_DRIVER_RELDATE);
-	drvr_info->DriverCapabilities = 0;
+	drvr_info->DriverCapabilities = MPI3_IOCINIT_DRIVERCAP_OSEXPOSURE_NO_SPECIAL;
 	memcpy((U8 *)&sc->driver_info, (U8 *)drvr_info, sizeof(sc->driver_info));
 
 	memset(&iocinit_req, 0, sizeof(iocinit_req));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504301721.53UHLoq1095246>