Commit Graph

27 Commits

Author SHA1 Message Date
rocky
20974d4568 CDIO_DRIVE -> CDIO_DRIVE_CAP 2004-04-25 14:07:23 +00:00
rocky
36507b3c10 get_mcn paramater is const.
solaris: failed attempt to get mcn and drive capabilities. Some
boilerplate routines used.

scsi_mmc: more defines.

src/cd-drive.c: bugfix when cdio is null
src/util.c: small enhancement.
2004-04-25 03:52:37 +00:00
rocky
6d6fbfcfa6 From Ian MacIntosh:
Modifications that it doesn't use the uscsi commands anymore and so
all IDE and SCSI drives go through the same code path - a major
simplification.

This works with all the CD drives that work with Solaris (IDE or SCSI)
as the ioctl's for CDROMCDXA in Solaris just end up doing uscsi calls
anyway, but directly from the kernel. The added advantage of not using
uscsi is that the user doesn't need to be root - which is important in
Sunray environments.
2004-03-16 12:18:32 +00:00
rocky
af2c12ddc1 regularize variable names mode{1,2}_form2 -> b_form2 2004-03-06 18:22:07 +00:00
rocky
c029b9df1a Bogosity fixup for Solaris. Could be better. 2004-03-06 05:04:41 +00:00
rocky
2ec587c433 Back off some of the modularization until we figure out what's gone wrong. 2003-10-14 04:44:52 +00:00
rocky
270017add7 Need to provide get_devices when not compiling for Solaris too. 2003-10-03 02:46:32 +00:00
rocky
c45bc0958e Add Solaris get_devices. 2003-10-03 02:35:33 +00:00
rocky
3c5888e31d Replace techno-wizard message "Get MCN" with more layman "Media Catalog Number" 2003-09-27 23:29:29 +00:00
rocky
49c44c3b74 read_audio_sectors done better. 2003-09-26 09:11:19 +00:00
rocky
dd05f2e6ad Change interface for read_audio_sectors. 2003-09-20 12:34:02 +00:00
rocky
63af058973 Use new common scsi_mmc.h. 2003-09-14 09:34:17 +00:00
rocky
833bc3d21d Note TOC's initialized so we don't reread. Add some int's to unsigned. 2003-09-01 15:11:36 +00:00
rocky
c7703d2fd1 Small comment change. 2003-07-27 22:52:22 +00:00
rocky
8b22196efe Bug in eject: need to close internal file descriptor before ejecting.
eject interface now nulls cdio pointer after a sucessful eject.
2003-05-16 07:18:27 +00:00
rocky
adfb8564c9 tests -> test
All public includes are included via #include <cdio/....h> rather than
#include "....h"

(removed -I $top_srcdir/include/cdio)
2003-04-22 12:09:08 +00:00
rocky
ea8c916e60 Move used #include <string.h> outside of conditional compilation since
strdup's used to get default device.
2003-04-11 17:31:50 +00:00
rocky
de359d9b4b read_mode_audio_sector now works. 2003-04-10 07:19:43 +00:00
rocky
aa9d1b517f get_default_device with NULL will get device *without* trying to open
cd. Add read_audio call.
2003-04-10 04:13:41 +00:00
rocky
d058b02d94 Revise for changed sector.h 2003-04-08 10:17:56 +00:00
rocky
797d0c3c98 Change sector.h constants, yet again. This time for Herbert Valiero Riedel. 2003-04-06 17:57:20 +00:00
rocky
fe31b5baa6 Use new sector.h constants. More changes will no doubt follow. 2003-04-06 06:45:13 +00:00
rocky
62d12714b1 More common routiens and structures moved to cdio_generic.c or
cdio_private.h respectively.
2003-03-30 13:01:22 +00:00
rocky
60e9f15876 Small lint-like errors. Solaris now works again with new read/lseek
functions.
2003-03-29 21:13:55 +00:00
rocky
4b1e1307ea Probably closer towards compiling on those architectures. 2003-03-29 20:28:05 +00:00
rocky
f488280282 Add simple (non-mode2) read/seek.
_cdio_generic.c: place to save common driver routines
add cdio_get_track_sec_count.
2003-03-29 17:32:00 +00:00
rocky
d4d82912da Initial revision 2003-03-24 19:01:09 +00:00