linux/include/uapi/linux/bsg.h

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _UAPIBSG_H
#define _UAPIBSG_H

#include <linux/types.h>

#define BSG_PROTOCOL_SCSI

#define BSG_SUB_PROTOCOL_SCSI_CMD
#define BSG_SUB_PROTOCOL_SCSI_TMF
#define BSG_SUB_PROTOCOL_SCSI_TRANSPORT

/*
 * For flag constants below:
 * sg.h sg_io_hdr also has bits defined for it's flags member. These
 * two flag values (0x10 and 0x20) have the same meaning in sg.h . For
 * bsg the BSG_FLAG_Q_AT_HEAD flag is ignored since it is the deafult.
 */
#define BSG_FLAG_Q_AT_TAIL
#define BSG_FLAG_Q_AT_HEAD

struct sg_io_v4 {};


#endif /* _UAPIBSG_H */