From nobody Mon Oct 14 05:40:56 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XRmL10kd5z5ZCkk; Mon, 14 Oct 2024 05:40:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XRmL03Xrwz40w0; Mon, 14 Oct 2024 05:40:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6jPOMkIVd2ioGWvk631sGM3+9Jd7JAM6AbXMYlold30=; b=JLBJNvvf8y0RUcYTLa+DGT0Sq7xs23Pr/je+f1ehOuHQjsddum/jnZnvgvhJV8UBVJwZOq H1TlpRcpvpGWXhVQQaUQ8Al5aSRqwo3U8p1XTNBK3Dzsz5Alrbr1wE36w7ewIZkhua2WNo QCa+gJ9XQueACnjxlWwz3lkqovYDGUdwDhoFZqIyNA4jIboFbrJGt0moPfzWVNGV7cIuDF SGMEmwGEeN7VuhGPJRYnTvo5hoCUtDEu3K7QkPglACUxXdUO52c8eetmNMaKcl29WEuZmt jRQ/cb2R0iJNCSbUIHIUT9Beb4qfVpLiN55mvl2U7oXt5KAppLDpS9GRtKcm5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728884456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6jPOMkIVd2ioGWvk631sGM3+9Jd7JAM6AbXMYlold30=; b=XeOtLi1lWdXZkmwbYv9Y459j0KYtqjUYa0YugvQnwpPBuemFHMdf90fodnVpxJ70vsiush AcdzNOBjrU7gp8Et9LAYSw5YKHh30eH+s8qsO3xAuoDDb3bgaicuC5tjlZC2s9wynyCzwW /l/IhXUaiiIes1RZmcHFbkhpfGSQvgg4ITrVGi87SsAiYtZH/4MYC82o1EDH2lJIjdRh32 ti1DYAdtEqQwo7PZaly06Zt53m82tilAT4GlDStg0jetQRD6x2J6UlYNOSdCLe8LwJURsM GPCybxeNBYNuVt5USRm+kBO+fswuHKyXMarjhrUnYqfq1VYdwpfvolTHf4zUiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728884456; a=rsa-sha256; cv=none; b=u/CKh1c1zt3NFprqu622AJlF3MyybJafdomj2GWtPPZ72AMP5YaDWwO6cxT/9kOrsu1hCU 7wCTEXT4mc3LbSRvNhzGEm1iDddzvhnPlE6tj0WisFai9FbLVakENPaCK9avPElJcsnXdy HtNx4BvouLNajpsCAFkEKVgaFaps1E3KwHIzLLl7KDwG4pC5Jibofq6o7p+8emrE8+cYKG LAjQS/wypMtojuglaYPLD+Cdh3vKiBgIak6gDanUrqdxCYHJLSNpQNCWcHp+WHqqjTyfug uBRQhm3bCa+SMUllhKXnjDYeclClNlT9eWduSInEDN7UyuU4F/o+h5NGOs6Dlw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XRmL01ysbzQgp; Mon, 14 Oct 2024 05:40:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49E5eukO089498; Mon, 14 Oct 2024 05:40:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49E5eutA089495; Mon, 14 Oct 2024 05:40:56 GMT (envelope-from git) Date: Mon, 14 Oct 2024 05:40:56 GMT Message-Id: <202410140540.49E5eutA089495@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: a35564358ac4 - main - ciss: Expose tunable hw.ciss.expose_hidden_physical as sysctl List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a35564358ac442d5d7a5c9c2dd0544f07b1963e7 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a35564358ac442d5d7a5c9c2dd0544f07b1963e7 commit a35564358ac442d5d7a5c9c2dd0544f07b1963e7 Author: Peter Eriksson AuthorDate: 2024-10-14 04:01:33 +0000 Commit: Warner Losh CommitDate: 2024-10-14 05:23:36 +0000 ciss: Expose tunable hw.ciss.expose_hidden_physical as sysctl Expose the hw.ciss.expose_hidden_physical tuneable as a sysctl and make it writeable at runtime. PR: 246279 Reviewed by: imp Tested by: Marek Zarychta Differential Revision: https://reviews.freebsd.org/D25155 --- sys/dev/ciss/ciss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 69b3dcb97171..1875c056f32d 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -265,6 +265,9 @@ SYSCTL_INT(_hw_ciss, OID_AUTO, verbose, CTLFLAG_RWTUN, &ciss_verbose, 0, */ static unsigned int ciss_expose_hidden_physical = 0; TUNABLE_INT("hw.ciss.expose_hidden_physical", &ciss_expose_hidden_physical); +SYSCTL_INT(_hw_ciss, OID_AUTO, expose_hidden_physical, CTLFLAG_RWTUN, + &ciss_expose_hidden_physical, 0, + "expose hidden physical drives"); static unsigned int ciss_nop_message_heartbeat = 0; TUNABLE_INT("hw.ciss.nop_message_heartbeat", &ciss_nop_message_heartbeat);