mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
camcontrol: Label the unused command args
Remove CAM_ARG_FORMAT_{BLOCK,BLI,PHYS} since they are not used. Label all the unused CAM_ARG_ bits as unused in comments to make them stand out. Sponsored by: Netflix Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D40520
This commit is contained in:
parent
eb9fac0edb
commit
8259fc46ac
|
@ -123,18 +123,21 @@ typedef enum {
|
|||
CAM_ARG_LUN = 0x00000010,
|
||||
CAM_ARG_EJECT = 0x00000020,
|
||||
CAM_ARG_UNIT = 0x00000040,
|
||||
CAM_ARG_FORMAT_BLOCK = 0x00000080,
|
||||
CAM_ARG_FORMAT_BFI = 0x00000100,
|
||||
CAM_ARG_FORMAT_PHYS = 0x00000200,
|
||||
/* unused 0x00000080 */
|
||||
/* unused 0x00000100 */
|
||||
/* unused 0x00000200 */
|
||||
CAM_ARG_PLIST = 0x00000400,
|
||||
CAM_ARG_GLIST = 0x00000800,
|
||||
CAM_ARG_GET_SERIAL = 0x00001000,
|
||||
CAM_ARG_GET_STDINQ = 0x00002000,
|
||||
CAM_ARG_GET_XFERRATE = 0x00004000,
|
||||
CAM_ARG_INQ_MASK = 0x00007000,
|
||||
/* unused 0x00008000 */
|
||||
/* unused 0x00010000 */
|
||||
CAM_ARG_TIMEOUT = 0x00020000,
|
||||
CAM_ARG_CMD_IN = 0x00040000,
|
||||
CAM_ARG_CMD_OUT = 0x00080000,
|
||||
/* unused 0x00100000 */
|
||||
CAM_ARG_ERR_RECOVER = 0x00200000,
|
||||
CAM_ARG_RETRIES = 0x00400000,
|
||||
CAM_ARG_START_UNIT = 0x00800000,
|
||||
|
@ -145,6 +148,7 @@ typedef enum {
|
|||
CAM_ARG_DEBUG_XPT = 0x10000000,
|
||||
CAM_ARG_DEBUG_PERIPH = 0x20000000,
|
||||
CAM_ARG_DEBUG_PROBE = 0x40000000,
|
||||
/* unused 0x80000000 */
|
||||
} cam_argmask;
|
||||
|
||||
struct camcontrol_opts {
|
||||
|
|
Loading…
Reference in a new issue