Commit Graph

814 Commits

Author SHA1 Message Date
rocky
c014c81948 Even more checking on conversion routines. Add cdio_msf_to_str. 2004-05-09 16:53:01 +00:00
rocky
51d132a457 Check some validity of NRG image. More will come later.... 2004-05-09 16:52:20 +00:00
rocky
ce3de314d8 More error message fixups. 2004-05-08 22:02:28 +00:00
rocky
01b7eee482 freebsd_ioctl.c: Erroneous data size. Thanks again to Heiner.
toc: better error messages and more tests.
2004-05-08 20:36:01 +00:00
rocky
29111948ad wild guesses at get_drive_mcn and get_drive_cap. 2004-05-08 16:28:44 +00:00
rocky
93dfab09d1 Compilation fix. 2004-05-08 14:47:35 +00:00
rocky
749dfb717c A better guess when we don't know for sure. 2004-05-08 14:14:03 +00:00
rocky
8e23fb507c Don't open gen.fd more than once. Thanks to Heiner for pointing this out. 2004-05-08 14:11:05 +00:00
rocky
e0139050ff Be more optimistic about CD drive capabilities. 2004-05-08 14:06:11 +00:00
rocky
416c98ecc2 Test was backwards. Thanks to Heiner for directing my attention to this. 2004-05-07 21:39:43 +00:00
rocky
db224b1fe2 Don't try to convert bad LBA's/LSN's. I wonder how many cascaded
problems this has caused in the past.
2004-05-07 10:59:12 +00:00
rocky
572222677e Better error reporting. 2004-05-07 10:58:23 +00:00
rocky
d31f2f4489 deal with disc-image device properly. 2004-05-07 09:55:54 +00:00
rocky
fa0c34a015 Typo. 2004-05-07 03:04:01 +00:00
rocky
716d771889 Do the right cam initialization (when it is ultimately handled.) 2004-05-07 02:16:57 +00:00
rocky
42d95f5a34 Bring in line with other drivers. 2004-05-06 04:01:52 +00:00
rocky
a5a298e495 Detect disc-image and don't open this device driver for that. 2004-05-06 01:37:43 +00:00
rocky
a41b31b805 _cdio_freebsd.c: is now in FreeBSD (with some cam code)
_cdio_linux.c - minor name changes.
2004-05-06 01:21:29 +00:00
rocky
ed8e9b08ad Detect disc-image and don't open this device driver for that. 2004-05-06 01:08:43 +00:00
rocky
36e36cff93 open driver shouldn't return true if we do not have a device but an
disc-image file.
2004-05-06 00:51:33 +00:00
rocky
cdd28a404d memory freeing issues. 2004-05-05 10:34:55 +00:00
rocky
7f10dab1a1 Small fixes. 2004-05-05 02:47:18 +00:00
rocky
55f4743894 Compilation fixes. 2004-05-05 02:39:16 +00:00
rocky
4e31b27db5 deal with device properly. 2004-05-04 04:42:17 +00:00
rocky
d9fb956d83 compilation fix. 2004-05-04 04:39:31 +00:00
rocky
f04f14c312 Add some cdrdao image reading support from Svend S. Sorensen's
cuetools

cdio.c: remove some complicated and extraneous code for auto-driver
detection.
2004-05-04 02:06:48 +00:00
rocky
8c0d08b480 Don't give "source not a device message" for uniformity with other drivers. 2004-05-04 01:57:23 +00:00
rocky
c286bec8ee Another patch from Heiner Eichmann. 2004-05-03 03:22:24 +00:00
rocky
a20cdf7d76 Another correction from Heiner Eichmann. 2004-05-02 14:55:11 +00:00
rocky
355eb4f071 Compilation fixes from Heiner Eichmann - Thanks! 2004-05-02 14:50:01 +00:00
rocky
b691fb63f3 Compilation fix. 2004-05-01 01:05:26 +00:00
rocky
c9982234a0 Compilation fixes after adjustments. 2004-04-30 22:27:59 +00:00
rocky
e853206824 Compilation fixes and modulization improvements. 2004-04-30 21:36:53 +00:00
rocky
a4cc1496e5 Attempt to add FreeBSD CAM access method. Hope I havent' broken
FreeBSD otherwise.
2004-04-30 09:59:54 +00:00
rocky
06a44699c8 ioctl.c -> win32_ioctl.c 2004-04-30 08:23:23 +00:00
rocky
46fd3abf81 compilation fixes. 2004-04-30 07:33:51 +00:00
rocky
a77be90ba4 Compilation fixes. 2004-04-30 07:07:49 +00:00
rocky
7f8cefed11 Add cdio_open_am to allow specifying an access method use for
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
a406b7b44b Add READ_TOC 2004-04-27 03:05:23 +00:00
rocky
6b9bc59426 More procedure canonicalization, some #defines added and used. 2004-04-26 07:54:47 +00:00
rocky
f6a16bae11 Remove unused _read_mode2. 2004-04-26 06:40:16 +00:00
rocky
6a0f9e4686 Add const on get_mcn prototype and initialization of get_drive_cap in
func structure
2004-04-25 17:05:07 +00:00
rocky
34cc0fb16f Missing a couple of const's in get_mcn when prototype changed.
cdio.h: doc fix.
2004-04-25 16:38:06 +00:00
rocky
3ecd485a7d More regularization of names. Warning: untested on freebsd and osx. 2004-04-25 15:41:26 +00:00
rocky
a664ea08b0 Regularize and I hope simplify names a bit more.
image/*.c: (bogus) eject media now frees resources
bincue.c: missing default_devices routine in function initialization table.
2004-04-25 14:48:17 +00:00
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
1bf5f1e464 Regularize naming convention of static routines a little bit. 2004-04-25 01:19:58 +00:00
rocky
52e0a80503 lib/*c, include/cdio/*.h: Add more drive capability info
util.{c,h}: common routine for printing capbilities
cd-info.c: use above.
*.right: update for capability display of above

cd-drive.c: new program to show drive capabilities
2004-04-25 00:46:34 +00:00
rocky
dee62a7917 Small doxygen comment. 2004-04-24 19:18:52 +00:00