bionic/libc/kernel/uapi/scsi/fc/fc_gs.h
Ben Cheng 655a7c081f Add processed uapi kernel headers (common and aarch64-specific)
Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124
2013-10-16 16:09:24 -07:00

81 lines
2.7 KiB
C

/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call into the kernel available to libc. It contains only constants,
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
*** To edit the content of this header, modify the corresponding
*** source file (e.g. under external/kernel-headers/original/) then
*** run bionic/libc/kernel/tools/update_all.py
***
*** Any manual change here will be lost the next time this script will
*** be run. You've been warned!
***
****************************************************************************
****************************************************************************/
#ifndef _FC_GS_H_
#define _FC_GS_H_
#include <linux/types.h>
struct fc_ct_hdr {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u8 ct_rev;
__u8 ct_in_id[3];
__u8 ct_fs_type;
__u8 ct_fs_subtype;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u8 ct_options;
__u8 _ct_resvd1;
__be16 ct_cmd;
__be16 ct_mr_size;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
__u8 _ct_resvd2;
__u8 ct_reason;
__u8 ct_explan;
__u8 ct_vendor;
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#define FC_CT_HDR_LEN 16
enum fc_ct_rev {
FC_CT_REV = 1
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
enum fc_ct_fs_type {
FC_FST_ALIAS = 0xf8,
FC_FST_MGMT = 0xfa,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
FC_FST_TIME = 0xfb,
FC_FST_DIR = 0xfc,
};
enum fc_ct_cmd {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
FC_FS_RJT = 0x8001,
FC_FS_ACC = 0x8002,
};
enum fc_ct_reason {
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
FC_FS_RJT_CMD = 0x01,
FC_FS_RJT_VER = 0x02,
FC_FS_RJT_LOG = 0x03,
FC_FS_RJT_IUSIZ = 0x04,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
FC_FS_RJT_BSY = 0x05,
FC_FS_RJT_PROTO = 0x07,
FC_FS_RJT_UNABL = 0x09,
FC_FS_RJT_UNSUP = 0x0b,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
enum fc_ct_explan {
FC_FS_EXP_NONE = 0x00,
FC_FS_EXP_PID = 0x01,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
FC_FS_EXP_PNAM = 0x02,
FC_FS_EXP_NNAM = 0x03,
FC_FS_EXP_COS = 0x04,
FC_FS_EXP_FTNR = 0x07,
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
};
#endif