From nobody Fri Dec 17 10:03:55 2021 X-Original-To: dev-commits-src-branches@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 99A2C18F78E2; Fri, 17 Dec 2021 10:03: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JFl1l6vfzz3tBy; Fri, 17 Dec 2021 10:03:55 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 8AEE719DBB; Fri, 17 Dec 2021 10:03:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BHA3tkl052091; Fri, 17 Dec 2021 10:03:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BHA3tQp052090; Fri, 17 Dec 2021 10:03:55 GMT (envelope-from git) Date: Fri, 17 Dec 2021 10:03:55 GMT Message-Id: <202112171003.1BHA3tQp052090@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ram Kishore Vegesna Subject: git: 9928435eef8c - stable/12 - ocs_fc: Remove unused function delarations. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ram X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 9928435eef8ca3ee7d3a19cbdb638c6cbad4398a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639735436; 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=rdIy1WRkBSLcfonmdcHDq89fD7hJ2bm0uFcR/EiJUjE=; b=LySqHZiIDNInbKPCi48XJGpmtrzlkAlHzFjeGxuDJSJENtxn3eYuMHCG3TePeCHXFLzZ5y mzsS5481M/jRDsbWPff5vvFG3pT4k7QA7+gXG8vjn8sVyvfM/bk54MDi1cOokmDbFyF2c2 KttLrNn3Z6modlkrwrvRREb1VCHFEo6aHFdcroAQs37/vJRCDcMGC0s0qZzaq4WIPt4rCt r5CsAWWxwuEeA23xHlym5wvrPGuXwTWy2Zpev3QbNRAcfZHZgJufxA4ag5RlMZuKXoSrn1 fKXHuWlmyyTN54j6Z8lvZ4vYf+cq7OBQ3BgLnLyccD6O0fSNuGnwMCWT7iQ/EA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639735436; a=rsa-sha256; cv=none; b=XO4gimuR+aCpmzyadn9czUl2REgM8pU1geEnvv2WTkdrd3aGSl6eEhZFEpgic4A9tdnuxv wgLSgzioLXU//4gJq7YmRuvLCQEydH3pP3dEqb7m8KZ/S3Gs5XoUXkWKteXw3t2YYEEXWp cKSI7yPag8FvRqlE1qV0zTMkyUe9DKLrrISazrpXEVRgvfEPWLfxg7mrYHYmqGole53WvJ QmipEdBP6cVSC9J8bTfa/Ysx9IhTMzU75DwUj3qtOOKVADxnDFVHbMrvtSeGu9vhEXK9jt GMVhU2MeBFO6QAFaVFKOwJXeKklSgVPMnecCU0IJZEFrOpy3cvH4te1Tz/kbWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by ram: URL: https://cgit.FreeBSD.org/src/commit/?id=9928435eef8ca3ee7d3a19cbdb638c6cbad4398a commit 9928435eef8ca3ee7d3a19cbdb638c6cbad4398a Author: Ram Kishore Vegesna AuthorDate: 2021-12-06 07:02:02 +0000 Commit: Ram Kishore Vegesna CommitDate: 2021-12-17 09:57:50 +0000 ocs_fc: Remove unused function delarations. Remove unused function declarations. Changes required for internal tool. Approved by: ken (cherry picked from commit 6f78736cb12026fcb423e1b313e83efb80597f21) --- sys/dev/ocs_fc/ocs_ioctl.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sys/dev/ocs_fc/ocs_ioctl.h b/sys/dev/ocs_fc/ocs_ioctl.h index a9cc20112ed0..96dc2dc29094 100644 --- a/sys/dev/ocs_fc/ocs_ioctl.h +++ b/sys/dev/ocs_fc/ocs_ioctl.h @@ -306,6 +306,7 @@ typedef struct { uint16_t name_len; /*<< Input: Length of name */ uint8_t *value; /*<< Output: user space buffer in which to place the response */ uint32_t value_length; /*<< Input: size of the user space buffer */ + int status; /*<< Output: command execution status */ } ocs_ioctl_cmd_get_t; typedef struct { @@ -334,6 +335,11 @@ typedef struct { uint8_t eof; /*<< EOF Value */ } ocs_ioctl_send_frame_t; +/* + * boardtemp (DUMP_TYPE4_WKI_TAG_SAT_TEM) response buffer length. + */ +#define OCS_DUMP_TYPE4_WKI_TAG_SAT_TEM_RESP_LEN (6 * 4) + /** * @brief linkcfg strings */ @@ -365,7 +371,4 @@ typedef struct { #define OCS_IOCTL_CMD_UNLOAD _IO(OCS_IOCTL_CMD_BASE, 18) #define OCS_IOCTL_CMD_SEND_FRAME _IOWR(OCS_IOCTL_CMD_BASE, 19, ocs_ioctl_send_frame_t) - -extern void ocs_info_get_xport_address(ocs_t *ocs, ocs_ioctl_driver_info_t *info); -extern int32_t ocs_device_ioctl_xport(ocs_t *ocs, unsigned int cmd, unsigned long arg); #endif