Commit Graph

28 Commits

Author SHA1 Message Date
rocky
0441b2f09d CAM mode2 form1 and form2 reading fixes.
Default device lists default to CAM device name.
Simplify, correct and make more complete CAM support.

With the above we can finally use libcdio for cd-read, vcdimager and
probably vlc and xine.

Many thanks to Heiner.
2004-06-05 02:47:49 +00:00
rocky
5e2642af4b Remove some of the bogus assume 1 is first track.
Renamings: env -> user_data
	   _obj -> env
2004-06-02 00:43:53 +00:00
rocky
6f78156edb Some variable renaming. env is the environment, user_data is what is
passed in.
2004-05-31 14:53:07 +00:00
rocky
22fd14048f Duplicate free bug fix from tracked down by Heiner. 2004-05-31 12:05:12 +00:00
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
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
9bf0aa3771 Correct size. Thanks to Heiner. 2004-05-12 20:06:10 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +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
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
416c98ecc2 Test was backwards. Thanks to Heiner for directing my attention to this. 2004-05-07 21:39:43 +00:00
rocky
716d771889 Do the right cam initialization (when it is ultimately handled.) 2004-05-07 02:16:57 +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
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
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
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