R. Bernstein
34bc1ec0b4
mmc.h: Big endian bytes is not the same as big_endian bitfield
...
mmc.c: more pervasive use of cdio's mmc definitions.
2010-02-04 04:24:43 -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
c01aa785cd
Comment out some MMC tests which are failing on GNU/Linux where we are *not* getting sense data back but we are getting failures from ioctl(.. CDROM_SEND_PACKET)
2010-02-02 23:03:46 -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
713951f1b3
Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio
2010-01-31 21:32:44 -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
a08a1f5149
Allow a status parameter in mmc_get_disc_eraseable to be NULL. Suggested by Frank Endres on libcdio-devel mailing list.
2010-01-31 07:46:48 -05:00
R. Bernstein
8ecd2d9483
Linguistic purity.
2010-01-30 11:51:53 -05:00
R. Bernstein
aef85b1bc7
Add a driver return code parameter to mmc_get_get_disc_erasable.
2010-01-29 03:51:21 -05:00
R. Bernstein
edf69959c1
Add mmc_get_disc_erasable courtesy of Frank Endres.
2010-01-28 19:38:34 -05:00
R. Bernstein
e889ba3557
cygwin fixes.
2010-01-21 03:48:13 -05:00
R. Bernstein
bd096b3eca
FreeBSD read/write and most-recent scsi sense access courtesy of Thomas Schmitt.
2010-01-16 21:02:34 -05:00
R. Bernstein
b609aab0eb
mmc.c: use OS driver open, not the specific GNU/Linux one
2009-12-31 22:54:12 -05:00
R. Bernstein
7e14578ffe
lib/driver/mmc.c: remove bug in dereferencing NULL pointer. (Found in testing ;-)
...
test/driver/mmc.c: MMC command testing code from Thomas Schmitt.
2009-12-31 13:28:11 -05:00