TEST_UNIT_READY doesn't need buffer, add REQUEST_SENSE

This commit is contained in:
Laurent Vivier 2006-11-01 17:46:06 +00:00
parent ed0b247d09
commit 7ce6576ba8

View File

@ -18,7 +18,8 @@ extern int scsi_INQUIRY(int target, char* buffer, size_t count);
extern int scsi_READ(int target, unsigned long offset, unsigned short nb_blocks,
char *buffer, int buffer_size);
extern int scsi_READ_CAPACITY(int target, char *buffer, size_t count);
extern int scsi_TEST_UNIT_READY(int target, char *buffer, size_t count);
extern int scsi_TEST_UNIT_READY(int target);
extern int scsi_REQUEST_SENSE(int target, char* buffer, size_t count);
extern scsi_device_t *scsi_open(int target);
extern int scsi_read_sector(scsi_device_t *device, off_t offset, void* buffer, size_t size);