TARGIOCENABLE | (Vt "struct ioc_enable_lun") Enable target mode on the LUN specified by the following structure:
struct ioc_enable_lun {
path_id_t path_id;
target_id_ttarget_id;
lun_id_t lun_id;
int grp6_len;
int grp7_len;
};
The selected path (bus), target, and LUN must not already be in use or EADDRINUSE is returned. If grp6_len or grp7_len are non-zero, reception of vendor-specific commands is enabled. |