Commit Graph

9 Commits

Author SHA1 Message Date
R. Bernstein
2d3b7d28b4 Add SCSI-MMC GET CONFIGURATION.
Add Frank Endres' disc type determination via MMC.
Be more careful to suffix with CDIO_MMC which I hope will reduce possible name conflicts.
2010-02-07 21:04:21 -05:00
R. Bernstein
e3a5e16cbb mmc.h: TEST_UNIT_READY MMC command opcode
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t.

win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set
return code status if sense data passed back. Translate bad parameter
MS Windows error into a driver_return_code_t error.

test/driver/mmc.c: Reinstate old logic now that the MS Windows driver
has been made to work more like other drivers and copes with some of
the MS Windows causing failure here.
2010-02-03 21:43:05 -05:00
R. Bernstein
991ea303d7 Add more doxygen comments as to sense request information means and add a typedef for mmc_sense_request.
Use this in win32_ioctl.c.
2010-02-03 05:22:20 -05:00
R. Bernstein
60b237a161 MS Windows iocontrol SCSI Passthrough fixes. Change test/driver/mmc.c - we
can't that when we get sense data, that we also gegt status back that pass through fails.
On MS Windows it doesn't seem to work that way.
2010-02-02 22:15:55 -05:00
R. Bernstein
8e9339917c Format windows error messages better. 2010-01-31 23:19:56 -05:00
R. Bernstein
5f10331adb MS Windows driver hacking hopefully to get closer to passing back sense data.
For now it seems that some pass-through direct doesn't work while the less-good passthrough does. Sigh.
2010-01-31 21:31:08 -05:00
R. Bernstein
a41cfed2a1 Add cdio_get_arg("scsi-tuple") for Win32 ioctl. 2010-01-29 23:25:59 -05:00
R. Bernstein
fe77f93bf7 Start to request sense data in DeviceIOControl of MS Windows. gnu_linux.c: small changes. 2010-01-01 05:52:52 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00