git: 9928435eef8c - stable/12 - ocs_fc: Remove unused function delarations.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 10:03:55 UTC
The branch stable/12 has been updated by ram: URL: https://cgit.FreeBSD.org/src/commit/?id=9928435eef8ca3ee7d3a19cbdb638c6cbad4398a commit 9928435eef8ca3ee7d3a19cbdb638c6cbad4398a 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 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