git: de7809c1eeed - stable/13 - ocs_fc: Remove unused function delarations.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 10:37:15 UTC
The branch stable/13 has been updated by ram: URL: https://cgit.FreeBSD.org/src/commit/?id=de7809c1eeedce27a60b84df23b1735f8658369a commit de7809c1eeedce27a60b84df23b1735f8658369a Author: Ram Kishore Vegesna <ram@FreeBSD.org> AuthorDate: 2021-12-06 07:02:02 +0000 Commit: Ram Kishore Vegesna <ram@FreeBSD.org> CommitDate: 2021-12-17 10:31:06 +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 | 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