Commit Graph

431 Commits

Author SHA1 Message Date
rocky
0ab4b1ada0 Remove the bogus assumption that the first track is always 1. May
help down the line with multi-session CDs.
2004-05-27 12:10:21 +00:00
rocky
92ab8ff36d Remove some of the bogosity in assuming the first track starts at 1.
(Probably will be useful on multi-session CD's).
2004-05-27 10:58:11 +00:00
rocky
f858aedc98 We shouldn't terminate if we can't get an MCN. 2004-05-27 10:47:07 +00:00
rocky
12a6d32d95 Fix prototype mismatch. 2004-05-27 01:11:50 +00:00
rocky
1e67fc17e0 Correct mismatched prototypes. 2004-05-27 01:06:34 +00:00
rocky
42b16ab189 Improve slightly (or possibly break slightly) based on information
from extractools.pl.
2004-05-26 06:27:03 +00:00
rocky
484637b207 Make default CAM since that works best. It might help the single
FreeBSD user of libcdio.
2004-05-24 23:31:15 +00:00
rocky
b4090f3ca5 Add cdio_open_am_cd.
Use network order for FreeBSD lsn/lba's and other small FreeBSD patches.
Thanks again to Heiner.
2004-05-19 03:00:03 +00:00
rocky
2a54d504c0 MSWindows/*: get access mode working better. ASPI support is faulty though
freebsd.c: it's "ioctl" not "IOCTL";
cdrdao: it's cdrdao, not "toc"
cd-info: slightly better error message?
2004-05-16 13:33:26 +00:00
rocky
cb7c0e870a Go over FreeBSD code based on output from Heiner.
Hopefully 3 bugs are fixed:
  - we get the leadout track now, no core dumps
  - MSF reporting is corrected
  - track format and mode

_cdio_linux.c: use cdio #define rather than GNU/Linux one.
2004-05-13 04:32:12 +00:00
rocky
cb9db0a7d5 Allow more freedom in specifying access mode.
Image drivers now have an "image" access mode.
2004-05-13 01:50:10 +00:00
rocky
cf6fd8b4c8 Allow more flexibility in specifying access mode.
"IOCTL" -> "ioctl".
2004-05-13 01:49:01 +00:00
rocky
9bf0aa3771 Correct size. Thanks to Heiner. 2004-05-12 20:06:10 +00:00
rocky
1526f100f2 cdio.h: update doxygen documentation
sector.c: remove erroneous fix.
2004-05-11 12:17:17 +00:00
rocky
3f6cba2b0a - Redo types of lsn and lba to allow negative values. Should model MMC3
specs. Add max/min values for lsn.
- More complete MMC command set
2004-05-11 02:15:42 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +00:00
rocky
5328594c59 Check for invalid LSNs. Turn some asserts into just returning failed status. 2004-05-09 22:12:49 +00:00
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