R. Bernstein
d0b09d15ef
More patches from the pbatard branch.
2012-03-04 14:37:07 -05:00
R. Bernstein
110ab30f17
Silence 'cont_###' set but not used warnings on MinGW
...
From pbatard branch.
Update copyright date on recently changed files.
2012-02-25 20:41:26 -05:00
rocky
22b544bde6
Fix a couple of sizeof syntax errors in converting sprintf to snprintf. See bug #34125 .
2011-08-25 00:13:36 -04:00
R. Bernstein
9be0980337
Change a number of sprintf's to snprintf.
2011-05-27 17:50:56 -04:00
R. Bernstein
245a9a645f
Clear sense request valid flag.
2010-02-09 21:35:00 -05:00
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