Commit Graph

29 Commits

Author SHA1 Message Date
Laurent Vivier
6e9f924edb scsi_command() really return error code in case of error...
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2014-05-08 23:37:16 +02:00
Laurent Vivier
9bd9755dbb Update email address
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
2013-09-05 14:45:27 +02:00
Laurent Vivier
5f09d45ad9 remove error message when complete transaction fails 2008-08-12 23:51:40 +00:00
Laurent Vivier
8a586c3e31 include tools.mk 2007-09-06 22:09:11 +00:00
Laurent Vivier
b966757f98 Increase command timeout to 30 seconds 2007-09-03 19:44:42 +00:00
Laurent Vivier
a7283acb85 Add include <sys/types>, patch by Finn Thain 2007-09-03 17:51:12 +00:00
Laurent Vivier
a60529b2fd CDB is unsigned char and buffer is void* 2007-03-22 17:00:50 +00:00
Laurent Vivier
ce0ab6332f Don't overwrite CFLAGS 2006-11-01 19:48:51 +00:00
Laurent Vivier
002e3026ae On TEST_UNIT, use REQUEST_SENSE to know the device state 2006-11-01 17:47:32 +00:00
Laurent Vivier
7ce6576ba8 TEST_UNIT_READY doesn't need buffer, add REQUEST_SENSE 2006-11-01 17:46:06 +00:00
Laurent Vivier
ed0b247d09 TEST_UNIT_READY doesn't need buffer 2006-11-01 17:44:33 +00:00
Laurent Vivier
5feb420909 Disable SCSIRead() if no buffer provided. Some commands, like TEST_UNIT, don't read data from device 2006-11-01 17:43:48 +00:00
Laurent Vivier
1153cd593a add REQUEST_SENSE 2006-11-01 17:42:23 +00:00
Laurent Vivier
5eb95f1419 Wait bus is not busy 2006-10-30 21:52:58 +00:00
Laurent Vivier
cbcdd3224b remove unused definition of memdum() 2006-10-28 10:17:45 +00:00
Laurent Vivier
0abca62f09 Add support for non-standard (i.e. non apple) CDROM drive that doesnot gives a capacity 2006-10-27 17:14:30 +00:00
Laurent Vivier
a072a95201 Add scsi_TEST_UNIT_READY.c and scsi_INQUIRY.c 2006-10-27 09:22:02 +00:00
Laurent Vivier
4e9d97b275 first revision 2006-10-27 09:21:28 +00:00
Laurent Vivier
f0129ad176 Ignore scPhaseErr on SCSIRead() 2006-10-27 09:19:53 +00:00
Laurent Vivier
2ebcc7dbb3 Add scsi_TEST_UNIT_READY() 2006-10-27 09:15:52 +00:00
Laurent Vivier
1bb375da59 Change my email address to Laurent@lvivier.info 2006-09-15 14:55:39 +00:00
Laurent Vivier
83a63cd81f disable 68000 flags 2006-01-24 12:25:27 +00:00
Laurent Vivier
29fca40450 Add -m68000 2005-11-26 18:28:05 +00:00
Laurent Vivier
ec64b11647 add scsi_get_blocksize() 2005-11-23 22:35:19 +00:00
Laurent Vivier
3d8cfe6db6 Read the capacity of the disk and the sector size 2005-11-22 00:53:48 +00:00
Laurent Vivier
79268ba7a5 Add copyright 2005-11-21 21:57:27 +00:00
Laurent Vivier
73b3180e0e Add scsi_device_t 2005-11-21 21:56:13 +00:00
Laurent Vivier
64e1e16e13 Add scsi_close() and scsi_open() 2005-11-21 21:55:36 +00:00
Laurent Vivier
7206af2a75 SCSI interface 2005-11-17 06:44:44 +00:00