Commit Graph

2749 Commits

Author SHA1 Message Date
R. Bernstein
e3d2e21123 glossary.texi, mmc.h: note acronyms SPC-3, MMC-5, SBC-2.
glossary.texi: start using texinfo cross references
test/driver/mmc.c: use provided routine for start/stop unit. Warning: might have broken things here.
2010-02-05 13:50:07 -05:00
R. Bernstein
0ae0a2ca8b Revise with info from dpANS SCSI Primary Commands-3 (SPC-3). Use sense
data structure in mmc_last_cmd_sense.
2010-02-05 07:40:31 -05:00
R. Bernstein
35b6969a45 Add SCSI sense key values. 2010-02-05 03:37:27 -05:00
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
8083e17683 Fix in changing data types. 2010-02-03 05:30:10 -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
e281b22c3c Add type definition for SCSI sense data. 2010-02-03 04:53:25 -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
5dc0592ad8 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2010-02-02 22:18:13 -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
2d46440352 Handle SCSI_MMC_DATA_NONE and copy sense data. Not working since SCSI Pass is still broken. Presumably after that's solved there will be less catch-up work. 2010-02-01 05:16:33 -05:00
R. Bernstein
8e9339917c Format windows error messages better. 2010-01-31 23:19:56 -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
f112a399d7 Update date 2010-01-30 20:16:10 -05:00
R. Bernstein
8ecd2d9483 Linguistic purity. 2010-01-30 11:51:53 -05:00
R. Bernstein
eb2da6111c Show off drive_erasable() in MMC example. 2010-01-30 11:46:01 -05:00
R. Bernstein
a41cfed2a1 Add cdio_get_arg("scsi-tuple") for Win32 ioctl. 2010-01-29 23:25:59 -05:00
R. Bernstein
1b05767201 Update MMC Feature Profile list 2010-01-29 04:48:38 -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
2a125e3471 Fill out parameter descriptions to remove doxygen warnings. 2010-01-28 10:36:59 -05:00
R. Bernstein
fbfc391f28 Regularis some of the mmc Doxygen comments. 2010-01-28 05:06:15 -05:00
R. Bernstein
b7ef82250e Assume nowadays Standard C is Standard C 2010-01-27 22:24:34 -05:00
R. Bernstein
abb378299a Start to DRY driver unit tests. 2010-01-24 06:01:24 -05:00
R. Bernstein
f0d742229a Reduce verbosity of test programs. For additional verbosity pass a param to the test program. 2010-01-23 23:36:57 -05:00
R. Bernstein
c90c24d1c8 testtoc -> driver/cdrdao.c.in 2010-01-23 23:20:12 -05:00
R. Bernstein
9edd3db3d2 Better diagnostic messages for MS Window driver. 2010-01-23 21:59:43 -05:00
R. Bernstein
2f5509c68e libcdio.texi: More sectioning with respect to the libraries
glossary.texi: Add Thomas Schmitt's DVD Blu-Ray and media information.
2010-01-22 08:52:36 -05:00
R. Bernstein
0c1024abfc Input and Control -> Input, Output, and Control thanks to Thomas Schmitt 2010-01-22 05:03:48 -05:00
R. Bernstein
859ba4e37a Revise section regarding "SCSI, SCSI commands, and MMC commands" 2010-01-22 04:44:31 -05:00
R. Bernstein
44bafdddc7 Thomas Schmitt's corrections and additions. 2010-01-21 16:42:57 -05:00
R. Bernstein
0066aa1975 Document corrections courtesy of Thomas Schmitt. 2010-01-21 10:51:34 -05:00
R. Bernstein
f87b2aa09f Document corrections courtesy of Thomas Schmitt. 2010-01-21 09:30:40 -05:00
R. Bernstein
50b9cf1343 Allow automake 1.10 2010-01-21 04:11:35 -05:00
R. Bernstein
37795871f0 Remove derived files. 2010-01-21 03:51:53 -05:00
R. Bernstein
e889ba3557 cygwin fixes. 2010-01-21 03:48:13 -05:00
R. Bernstein
2b4a36f758 Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in 2010-01-21 02:58:19 -05:00
R. Bernstein
cda73dfa47 Fold more tests into bi/ncue driver. 2010-01-20 21:52:23 -05:00
R. Bernstein
818e499c4c Make "make dist" package everything again. 2010-01-20 21:14:22 -05:00
R. Bernstein
0ec240f935 Reorganize test data for future growth. 2010-01-20 20:57:43 -05:00
R. Bernstein
9c96d2c448 More information around access modes for specific drivers. 2010-01-18 03:39:33 -05:00
R. Bernstein
fa897e85b9 Extend win32 test to check get_arg("mmc-supported?"). Turn ASPI load failer into an info message 2010-01-18 03:30:40 -05:00
R. Bernstein
3bdc6820e5 Bug fixes in test/driver programs 2010-01-18 03:08:30 -05:00
R. Bernstein
3bd7752137 Start a section on access modes and cdio_get_args. 2010-01-17 21:06:46 -05:00
R. Bernstein
0297656be1 driver/*.c: Add response for get_arg("mmc-supported?")
example/*.c: remove compiler wranings.
2010-01-17 05:54:02 -05:00
R. Bernstein
eeb59ad3d4 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2010-01-17 04:51:06 -05:00
R. Bernstein
67c8623051 lib/driver/libcdio.sym: cdio_realpath is extern now.
udffile.c: remove warning
test/driver/gnu_linux.c: don't have scsi-tuple-linux any more.
2010-01-17 04:49:47 -05:00