From nobody Tue Dec 07 08:53:24 2021 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 33CBA18D1B82; Tue, 7 Dec 2021 08:53:25 +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 4J7Yx06ZYsz3tTT; Tue, 7 Dec 2021 08:53:24 +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 C20EC1CB37; Tue, 7 Dec 2021 08:53:24 +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 1B78rO5H001610; Tue, 7 Dec 2021 08:53:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B78rOn0001609; Tue, 7 Dec 2021 08:53:24 GMT (envelope-from git) Date: Tue, 7 Dec 2021 08:53:24 GMT Message-Id: <202112070853.1B78rOn0001609@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ram Kishore Vegesna Subject: git: 6f78736cb120 - main - ocs_fc: Remove unused function delarations. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 6f78736cb12026fcb423e1b313e83efb80597f21 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638867204; 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=LPVhI/tzha5AKm9/JvYyz2QyBDDyCvkwgCDgU0FWpbs=; b=YZxOr5ENN8jCuOuVDNSSMd0pKu9JWAmoNcZVY42r0umOZF8K30eTwOEqmj64kzVWa93i1o SzU3/djbbVpVCYveYv1qTaACSIcbds9OqAlTbrCyHr1cHDox2W4E4LUYaP3ymuSe+blINr ly8vwz2qU3JO9F6UuCNXYFeFzW43eF64WH/nubcrz+5iS2wzTaihQ2mHd9IT8JuBbAMkQw V7Hhj+hntIELk/avzxbA7H2DfK8NNG1A1B2ISm9pmqUlKpWE7v3s6fuRTpKJj95Y3KOEmX 1U0eJK6/3cbHXJ7bTkIPZjhpG8BAEpLQxMFiMr1lShB1LwEu0aKKPJtSaFPdtg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638867204; a=rsa-sha256; cv=none; b=lTj+EFlxps0O0R+UTh/bgRpHADDnlnz4KAtUQ7zXhoIb3rRWZIWdEFEoENqyWPidWmqqXx XJdRwmQxJrYT//Cw85PlUP5ZrlLxFv0uwRvXftxpzwTdA2dYT8+wfBRNOO3Wq0DVyPsNb4 1KTiPkn3aPRIeFtJHqFsFHDBW+jA7Kh35E9mrzM5v2O0Q24UZ0pENy5OFcY42aJHqeeeO8 9N+Oz56hmG4GRZ+QM4AMuBviXz7ZjVToiy1InfJQrRBxO7bKeVafbFuVBAg7LpNGV0ZtA2 zJU5yMrAFevfGM0JOt3swHMUxpYi35JI/oxooF0uMqTuIvwiGGjlBFtAwQ1dpw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ram: URL: https://cgit.FreeBSD.org/src/commit/?id=6f78736cb12026fcb423e1b313e83efb80597f21 commit 6f78736cb12026fcb423e1b313e83efb80597f21 Author: Ram Kishore Vegesna AuthorDate: 2021-12-06 07:02:02 +0000 Commit: Ram Kishore Vegesna CommitDate: 2021-12-07 08:44:38 +0000 ocs_fc: Remove unused function delarations. Remove unused function declarations. Changes required for internal tool. Approved by: ken --- sys/dev/ocs_fc/ocs_ioctl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sys/dev/ocs_fc/ocs_ioctl.h b/sys/dev/ocs_fc/ocs_ioctl.h index f2a291843d5a..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,6 +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