rocky
51639aaa86
Remove a number of const's since Darwin's run_scsi_mmc doesn't work
...
that way :-(
2005-01-21 20:54:55 +00:00
rocky
c5462f0fad
routine name change.
2005-01-21 15:30:11 +00:00
rocky
cb268b6529
_cdio_stream.c: replace assert's with failures.
...
Make cdrdao be able to handle the kind of images vcdimager produces.
There was a slight regression (perhaps so vcd_demo_toc.right may in
fact not be right. Deal with some other time.
2005-01-21 10:11:23 +00:00
rocky
cedfde7b80
Remove get_scsi for now.
2005-01-21 03:15:36 +00:00
rocky
688c30e66a
Move some of the "generic" routines using MMC into SCSI-MMC. Think is a
...
little bit clearer and cleaner.
2005-01-21 02:59:32 +00:00
rocky
ae7667d336
Remove probably some serious lapses:
...
Now check all reads for exceeding end of disc and info messages can be
logged. We were also returning 0 on error reads. Regularize by using a
couple of macros.
2005-01-21 02:57:59 +00:00
rocky
e6fc7b7ad2
Missed a couple of env -> p_env's
2005-01-20 14:58:22 +00:00
rocky
cd9d8beba5
Add Scott Wood's code for issuing SCSI-MMC command. It doesn't work though.
2005-01-20 12:36:21 +00:00
rocky
d6b930e6cc
Add get_blocksize. There may be some breakage as I haven't tested all of the
...
various drivers yet.
2005-01-20 05:07:00 +00:00
rocky
fb07d7d0fe
Various doxygen improvements.
2005-01-20 04:51:14 +00:00
rocky
1b48133934
Turn a bunch of defines into an enumeration. Makes debugging a bit
...
nicer.
2005-01-20 04:46:25 +00:00
rocky
bd333bc73f
Move a set_speed and set_blocksize (via MMC)from driver-specific
...
places to generic.
Add _t to yet another type.
2005-01-20 01:00:52 +00:00
rocky
f7ebed2287
Add DRIVER_OP_UNINIT and change appropriate DRIVER_OP_ERROR's to
...
DRIVER_OP_UNINIT.
2005-01-20 00:36:38 +00:00
rocky
8588f4ae8e
Type cast that might make this more robust. 'Dunno.
2005-01-19 17:25:50 +00:00
rocky
1b40bc3018
Even though this may not be nstrictly the way the original
...
cdda_interface does things, add a spaces between the vendor, model,
and revison number.
2005-01-19 17:24:58 +00:00
rocky
17e0ce465d
Accomodate Windows that sometimes gives an argc that seems one greater
...
than what's not NULL in argv. And it is probably a good idea anyway to
test for null strings before calling strdup()
2005-01-19 17:23:28 +00:00
rocky
a5dd90adb2
Change to use driver_return_t
2005-01-19 09:42:32 +00:00
rocky
9b8586d97f
Change to use driver_return_t.
2005-01-19 09:40:50 +00:00
rocky
7796f6cce7
Try to regularize driver operation return codes via a new enumeation
...
return type. (I may regret this later as we return ioctl's int value
in some cases).
cdio.h: get/set_arg moved to device.
2005-01-19 09:23:24 +00:00
rocky
634ac3f979
Do not try to process if we got errors. More needs to be done, but this is a start.
2005-01-18 16:05:29 +00:00
rocky
95cbee45e5
Note change in -g option and that we scan for a CD-DA (rather than
...
merely a CD-ROM).
2005-01-18 12:59:09 +00:00
rocky
389c5e0057
Got test backwards.
2005-01-18 12:34:21 +00:00
rocky
79ba6afcbb
--force-generic-device -g is an alias for --force-cdrom-device -d
2005-01-18 12:26:06 +00:00
rocky
63217964d6
The usual.
2005-01-18 05:46:04 +00:00
rocky
93d29803c0
Attempt SCSI-MMC speed setting (e.g. for M$).
2005-01-18 05:41:58 +00:00
rocky
8edd441cbd
Add FreeBSD set speed routine.
2005-01-18 04:03:06 +00:00
rocky
164a5cc4f5
test/Makefile.am: forgot to add vcd2.toc
...
NEWS: what's up.
2005-01-18 03:46:40 +00:00
rocky
32b177638e
gcc < 3.0 compilation fix.
2005-01-18 03:27:58 +00:00
rocky
00dfa4d39a
Bug in accessing via snprintf a NULL string.
2005-01-18 03:03:56 +00:00
rocky
f1a3c2f51c
Add set_speed for OSX.
2005-01-18 02:18:49 +00:00
rocky
3a99718830
Add set_speed for Solaris via ioctl and set_blocksize via SCSI-MMC.
...
Update comments in GNU/Linux driver.
2005-01-18 01:48:42 +00:00
rocky
e5bdc956e9
Add interface for setting speed and blocksize. Reinstated it in
...
cd-paranoia libraries and command.
Some more variable convention regularizations.
2005-01-18 00:57:19 +00:00
rocky
17c55ea59b
add _t to another time. driver_id inside p_cdio wasn't initialized.
2005-01-17 17:20:09 +00:00
rocky
8c8c08aa67
We don't need driver_id, so simplify this code a little bit.
2005-01-17 16:29:14 +00:00
rocky
45500e1e73
Work on documentation. cd-paranoia name is now properly substituted.
...
Offset option described better.
2005-01-16 13:08:25 +00:00
rocky
526748e809
Move cd-paranoia documentation into its own directory.
2005-01-16 11:47:45 +00:00
rocky
93bbd3c4ec
Add another VCD toc test. We can't actually handle this fully, but at
...
least we can parse it correctly (I think).
2005-01-16 04:35:08 +00:00
rocky
ebdaa24318
Add another TOC test. This one taken from one modified from Steve
...
Schultz's VCD collection.
2005-01-16 04:34:20 +00:00
rocky
b0772e83a6
At least parse DATAFILE lines more fully. Things are better but we're
...
still having problems reading the ISO-9660 of sms VCD's.
2005-01-16 04:28:02 +00:00
rocky
49d5e4dca2
It appears for cdrdao datastart needs to be larger. Could possibly be
...
unsigned too.
2005-01-16 04:25:16 +00:00
rocky
44b72c606c
Redo bit masks for test flags. Should accomodate what is in (even if
...
not working) in cdparanoia.
2005-01-16 04:23:41 +00:00
rocky
8707c4e676
Remove testparanoia .raw output on clean
...
Also ignore these for CVS if they are around.
2005-01-16 04:20:32 +00:00
rocky
069940d1a5
Remove a couple of unused SCSI fields.
2005-01-15 16:08:39 +00:00
rocky
aa50f5e09a
Add regression-test mechanism. Right now we only have underrun testing.
...
Perhaps more later...
cd-paranoia: -x option added to specify what to test.
2005-01-15 16:05:44 +00:00
rocky
a1e6e4f5d2
Replace some paranoia-specific copystring's with strdups.
2005-01-15 10:19:22 +00:00
rocky
a9832ae495
Start another cd-paranoia test. This one uses image reading so it
...
doesn't require a CD-DA loaded.
2005-01-15 10:17:17 +00:00
rocky
9137470a8e
Redo in a way simpler way that and in a way that valgrind doesn't
...
think there's a memory leak.
2005-01-15 03:22:48 +00:00
rocky
a3bafd4ba7
cooked_interface.c: check for TOC-read error.
...
cd-paranoia.c: check that list of drives isn't just NULL list.
2005-01-15 02:23:04 +00:00
rocky
87c4b8d39b
Small error. Used the wrong variable for extracting the revision.
2005-01-14 22:04:24 +00:00
rocky
5c34644e0c
More changes to deal with error conditions.
2005-01-14 21:41:36 +00:00