rocky
83f987275e
scsi_mmc.c: doc change
...
FreeBSD: use generic routines more often. Initialize TOC before
getting drive capabilities (seems to be desired, not completely sure
or sure why this would be so.)
2004-08-01 11:28:00 +00:00
rocky
008d86d309
More in line with rest of MMC stuff.
2004-07-31 09:26:31 +00:00
rocky
0703acb771
Compilation fix.
2004-07-31 09:14:59 +00:00
rocky
5c26700f3e
Make setting read lengths more precise (and correct).
2004-07-28 11:45:21 +00:00
rocky
98cd2e0e62
Remove duplicate toc_init field and use gen.toc_init like other
...
drivers use.
2004-07-25 15:40:02 +00:00
rocky
18d135a99b
Set initialization of TOC when that's done. Test for TOC
...
initialization success in routines that depend on that.
2004-07-25 11:15:08 +00:00
rocky
c81ea6b678
FreeBSD compilation fixes.
2004-07-24 11:50:50 +00:00
rocky
04cb45f9ee
Allow scsi mmc commands to get invoked from outside (for CAM access).
2004-07-24 06:06:22 +00:00
rocky
3087bc0784
Add get_drive_cap and generic get_mcn routines.
2004-07-24 05:57:20 +00:00
rocky
cc3c3fa4db
Typo.
2004-07-23 23:46:53 +00:00
rocky
3fe90481c1
Reinstate MCN guess.
2004-07-23 10:43:21 +00:00
rocky
3ca533663d
Don't terminate on error but just return a failure and let the
...
caller decide to exit or not.
2004-06-25 20:49:56 +00:00
rocky
001bd6360b
Put the right suffix on ATAPI devices.
...
More const's, fewer void *'s.
2004-06-19 16:34:45 +00:00
rocky
03e7cde7fd
Add "c" at end of drive specification if not FreeBSD 5.x.
...
Handle not getting default drive more gracefully.
As always changes based on suggestions from Heiner.
2004-06-19 11:07:55 +00:00
rocky
6ea2ad3b66
Compilation lint
2004-06-12 18:45:54 +00:00
rocky
740fdb0e4a
Some of the needed changes for FreeBSD 5.x. More may be needed.
...
From Heiner - thanks!
2004-06-12 17:40:07 +00:00
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
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
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
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
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