From nobody Thu Sep 26 14:06:07 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 4XDwPC5Y8Sz5XLQ2; Thu, 26 Sep 2024 14:06:07 +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 4XDwPC50dlz4WwB; Thu, 26 Sep 2024 14:06:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727359567; 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=wHP49xdt/yXE5Muip5GdaZknh2S+Wozvf7nhKBo1YcM=; b=Kg4A2kMLdp7K4ZSYd0WzPJSCEbwVs6RcujpF2OwPS7BPnWuNoy76czYmeM56yHEQQxSTBB 8JluaRsQNbaR7QM/fjbfB6CarDrGOZKftXFVTEWMoVzwypyBNw0tQXiO2z4viAPjlsSNY1 C4bAxbP7Bi2SsPnju7ZMUsbiP62cTpRm5a4D2bBUa9gnqzhYGsRRvGq/doX4VSVgX3+qdB wdH1cwoO73lrXR/tz85+7XayGtwn01ogekAajAbC4Og9jPfrHHCmFx0qvamROB3y7KQ2po YdwvL6ChULcXlRu4jbwBeTojgVrpTbWbNHovTcJr0WnfgL1nvz97DJmBP+JioA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727359567; 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=wHP49xdt/yXE5Muip5GdaZknh2S+Wozvf7nhKBo1YcM=; b=f4WAgH34mMUy6iacXKsSZCWp6EQsF71l+lgaC+2s+nuJVZvW9M90PyzrgxZit4IyntALZF ufJ8/bThiWWsFM/sF4s6wwn/5HL0C5BQS6K9fdl200ju75Z87SuS1DvRv91YASZp2FoIP2 OOnoW/z9z3v6HzBVGcHh4p6M3UD6gACXwbtba8sBnOD3hbGayN/ta7RUXCRIi+gGYzzEBV AnTcFjdiW58oB4kdTjX9UudGYtt3qFWs4V+4Qyxk5ySKnhq/MuRF5j7JSJdqRwH9gQt2JK vanwfGvvcZXnWj6OlkSqew4S7+eGZPWsJSGacVvHInsScnnmvcF1KyZWjwLzsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727359567; a=rsa-sha256; cv=none; b=RKzEJieh1kPqVlPp462j5rxwVxRka7cVAPqSul3oGcbKxyt9GSrcC6vjtrP4aFhIuZUgug 2SBMouMmenUAEvnmvHEZyAOdmGqeJzkc24vYGQP2webQhghIEuEHFZv+7h3kGJDNR5Lzvv YEcP3e6t9yoq3EX9wznfutj3PAZ8ESMJbzJdWBZ50qIBPe3yLGtWW7DivbB8MeKtTsmYM+ 7ft63dnxiOehqU400DyAl7FiJO7u1uvJppFCUqQWT+LEa7Qj0+bbjAfqe9uDFvUY2dPgHx ebVSOzlxKQSxRcic8NsJyynOgoW2Jym/Xu2MENaK1YJ3cQ4pdLWjOeoqV+3ewg== 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 4XDwPC4Sqyz108D; Thu, 26 Sep 2024 14:06:07 +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 48QE67CR069162; Thu, 26 Sep 2024 14:06:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48QE6723069159; Thu, 26 Sep 2024 14:06:07 GMT (envelope-from git) Date: Thu, 26 Sep 2024 14:06:07 GMT Message-Id: <202409261406.48QE6723069159@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Justin Hibbits Subject: git: 21525fe03c05 - main - sdhci: Add sysctl to report quirks on the slot 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: jhibbits X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 21525fe03c05cebb951214e78e411a3040e8a798 Auto-Submitted: auto-generated The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=21525fe03c05cebb951214e78e411a3040e8a798 commit 21525fe03c05cebb951214e78e411a3040e8a798 Author: Justin Hibbits AuthorDate: 2024-09-25 21:35:50 +0000 Commit: Justin Hibbits CommitDate: 2024-09-26 13:58:54 +0000 sdhci: Add sysctl to report quirks on the slot Summary: It can be useful to see what quirks are applied on an SDHCI slot. Obtained from: Juniper Networks, Inc. Reviewed By: manu Differential Revision: https://reviews.freebsd.org/D46790 --- sys/dev/sdhci/sdhci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c index c747f54cb32c..0be20e7aa523 100644 --- a/sys/dev/sdhci/sdhci.c +++ b/sys/dev/sdhci/sdhci.c @@ -1149,6 +1149,9 @@ no_tuning: SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO, node_name, CTLFLAG_RW, 0, "slot specific node"); + SYSCTL_ADD_UINT(device_get_sysctl_ctx(dev), SYSCTL_CHILDREN(node_oid), + OID_AUTO, "quirks", CTLFLAG_RD, &slot->quirks, 0, "Slot quirks"); + node_oid = SYSCTL_ADD_NODE(device_get_sysctl_ctx(dev), SYSCTL_CHILDREN(node_oid), OID_AUTO, "debug", CTLFLAG_RW, 0, "Debugging node");