summaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi/scsi/fc/fc_gs.h
blob: b41fc569d6b3a891a294aa9c58234f716727e79c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/****************************************************************************
 ****************************************************************************
 ***
 ***   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