diff options
Diffstat (limited to 'include/sg_cmds_extra.h')
-rw-r--r-- | include/sg_cmds_extra.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/include/sg_cmds_extra.h b/include/sg_cmds_extra.h index 195195b5..164c40a1 100644 --- a/include/sg_cmds_extra.h +++ b/include/sg_cmds_extra.h @@ -2,7 +2,7 @@ #define SG_CMDS_EXTRA_H /* - * Copyright (c) 2004-2007 Douglas Gilbert. + * Copyright (c) 2004-2008 Douglas Gilbert. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -69,22 +69,6 @@ extern int sg_ll_format_unit(int sg_fd, int fmtpinfo, int rto_req, void * paramp, int param_len, int noisy, int verbose); -/* Invokes a SCSI GET CONFIGURATION command (MMC-3...6). - * Returns 0 when successful, SG_LIB_CAT_INVALID_OP if command not - * supported, SG_LIB_CAT_ILLEGAL_REQ if field in cdb not supported, - * SG_LIB_CAT_UNIT_ATTENTION, SG_LIB_CAT_ABORTED_COMMAND, else -1 */ -extern int sg_ll_get_config(int sg_fd, int rt, int starting, void * resp, - int mx_resp_len, int noisy, int verbose); - -/* Invokes a SCSI GET PERFORMANCE command (MMC-3...6). - * Returns 0 when successful, SG_LIB_CAT_INVALID_OP if command not - * supported, SG_LIB_CAT_ILLEGAL_REQ if field in cdb not supported, - * SG_LIB_CAT_UNIT_ATTENTION, SG_LIB_CAT_ABORTED_COMMAND, else -1 */ -extern int sg_ll_get_performance(int sg_fd, int data_type, - unsigned long starting_lba, int max_num_desc, - int type, void * resp, int mx_resp_len, - int noisy, int verbose); - /* Invokes a SCSI PERSISTENT RESERVE IN command (SPC). Returns 0 * when successful, SG_LIB_CAT_INVALID_OP if command not supported, * SG_LIB_CAT_ILLEGAL_REQ if field in cdb not supported, @@ -203,14 +187,6 @@ extern int sg_ll_send_diag(int sg_fd, int sf_code, int pf_bit, int sf_bit, void * paramp, int param_len, int noisy, int verbose); -/* Invokes a SCSI SET CD SPEED command (MMC). - * Return of 0 -> success, SG_LIB_CAT_INVALID_OP -> command not supported, - * SG_LIB_CAT_ILLEGAL_REQ -> bad field in cdb, SG_LIB_CAT_UNIT_ATTENTION, - * SG_LIB_CAT_NOT_READY -> device not ready, SG_LIB_CAT_ABORTED_COMMAND, - * -1 -> other failure */ -extern int sg_ll_set_cd_speed(int sg_fd, int rot_control, int drv_read_speed, - int drv_write_speed, int noisy, int verbose); - /* Invokes a SCSI SET IDENTIFYING INFORMATION command. This command was * called SET DEVICE IDENTIFIER prior to spc4r07. Return of 0 -> success, * SG_LIB_CAT_INVALID_OP -> Set identifying information not supported, |