diff options
-rw-r--r-- | sys/dev/ocs_fc/ocs_ioctl.h | 8 |
1 files 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 |