Commit Graph

82 Commits

Author SHA1 Message Date
rocky
62d49b41f5 Initialization bugs. 2004-08-03 12:45:40 +00:00
rocky
2ba3136636 Use more common routines. ioctl - not tested. ASPI has bug probably
in running scsi command.
2004-07-29 04:14:44 +00:00
rocky
eeb8ecada1 Bug in generic run_scsi_cmd_win32ioctl: wasn't copying CDB in
and wasn't setting length.
2004-07-28 16:51:15 +00:00
rocky
5c26700f3e Make setting read lengths more precise (and correct). 2004-07-28 11:45:21 +00:00
rocky
257a956093 compilation fixes 2004-07-28 03:17:56 +00:00
rocky
6041f8ae47 msecs 2 secs cleanup 2004-07-28 01:55:03 +00:00
rocky
7716188c38 Make sure milliseconds get converted to seconds if needed.
Some function renaming, and a typo in a DVD book type.
2004-07-28 01:09:59 +00:00
rocky
8e3c103b71 Misc consolidation fixes. Some mode2 reading seems broken still. 2004-07-27 02:21:23 +00:00
rocky
3153e68a3c compilation typo 2004-07-27 01:23:27 +00:00
rocky
db337e5665 More consolidation of code by adding routines to scsi_mmc. 2004-07-27 01:06:01 +00:00
rocky
46d287060c Don't use the cdtext_set_field macro any more. 2004-07-26 11:25:51 +00:00
rocky
8000e161a2 get_dvd_physical common routine now works. 2004-07-26 04:33:21 +00:00
rocky
50532e7025 Try to make get_dvd_physical a common routine. (Haven't tested yet.) 2004-07-26 03:58:25 +00:00
rocky
1b15e56374 Start to break out routines into a device-callable routine as well
as a publically callable routine. The device-callable routine will
be able to change the passthrough routine as M$ has two distinct
routines for aspi and ioctl.
2004-07-26 03:39:55 +00:00
rocky
cf5ec43903 Got test backwards. 2004-07-25 23:32:15 +00:00
rocky
20b4fe48c7 Add ioctl disc mode detection. - Not fully tested yet. 2004-07-25 22:33:54 +00:00
rocky
a0f928de45 Disc mode detection done for aspi. 2004-07-25 21:43:30 +00:00
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00
rocky
a7fcd6e83e Compilation fix: run_scsi_cmd is no longer static. 2004-07-25 10:26:22 +00:00
rocky
8ec061202a freebsd: add scsi_mmc_cmd_run and use it.
Others: small changes.
2004-07-24 05:42:09 +00:00
rocky
64febf9a8a Allow scsi_mmc_run_cmd to get called from outside. 2004-07-23 14:40:43 +00:00
rocky
ead37407e7 Add scsi_mmc_run_cmd_win32ioctl and use it. 2004-07-23 14:28:42 +00:00
rocky
091a486c8e Create uniform scsi_mmc_run_cmd routine and use this more pervasively. 2004-07-23 10:59:15 +00:00
rocky
3263eeefae Work on SCSI MMC layer. Some things may be broken. 2004-07-22 09:52:17 +00:00
rocky
91f78d58f9 A little less convoluted 2004-07-19 15:40:47 +00:00
rocky
8a99889f49 Add READTOC format defines. 2004-07-19 01:13:31 +00:00
rocky
752d81db4d Modified for expanded CD-TEXT handling. 2004-07-18 06:51:49 +00:00
rocky
7e18d89c8a Add common defines for some subchannel commands, and use them. 2004-07-17 15:31:00 +00:00
rocky
e0aa1848e4 Hoist common CD-TEXT routines. 2004-07-17 10:05:54 +00:00
rocky
b02c3fa64f Win32 fixes for new CD-TEXT interface. 2004-07-17 09:12:21 +00:00
rocky
d07ed75256 Corrections for new cdtext interface.
Some more precise track handling when the first track is not 1.
Some of this needs to be tested.
2004-07-17 02:43:41 +00:00
rocky
03db2d51c5 Wasn't calling CD-TEXT win32 ioctl routine. CD-TEXT now works on win32 ioctl. 2004-07-16 13:55:08 +00:00
rocky
2fba3dc7ba CDB for READ_CD has only 12 bytes. 2004-07-16 03:06:53 +00:00
rocky
3a0c135aa5 Misplaced #endif 2004-07-16 02:52:30 +00:00
rocky
c87df9d500 Add CD-TEXT handling 2004-07-16 02:48:49 +00:00
rocky
cd94fb2f86 routine name change. 2004-07-16 02:09:10 +00:00
rocky
d7e71d96e3 Use more universal C style 2004-07-16 02:06:40 +00:00
rocky
3747be0b8b Finish get_MCN for aspi. Use conventions to make look more like
other SCSI passthrough routines.
2004-07-16 01:25:57 +00:00
rocky
14646f641f MSWindows: comment corrections
_cdio_linux.c: perhaps closer to getting CD TEXT correct.
2004-07-15 02:24:29 +00:00
rocky
d59fcda91e small cleanup changes. 2004-07-14 04:42:11 +00:00
rocky
34d998f5ef Start to consolidate SCSI MMC passthrough code. 2004-07-14 04:34:25 +00:00
rocky
36a944cc28 MSWindows lint. 2004-07-13 12:28:18 +00:00
rocky
2649b729a1 Yet more code cleanups. 2004-07-13 04:33:05 +00:00
rocky
b45ada9181 Some code cleanups - more may follow. 2004-07-13 03:59:09 +00:00
rocky
5eb83082eb Add CD-TEXT to MS-Windows ASPI driver. (The first real CD driver!)
In the process we've had to remove "const" from get_aspi.
2004-07-13 03:45:15 +00:00
rocky
e8f04eb128 MS Windows compilation fixes. 2004-07-12 03:34:14 +00:00
rocky
b525effb95 Pull out mmssff_to_lba routine and fix bug when in error reporting
when frame >= 100.

Add msf3_to_lba and use that where possible (win32_ioctl.c for
example).
2004-07-10 01:21:19 +00:00
rocky
4058457e52 Sun drive capabilities improved. Sun and Windows ASPI use common
MODE_SENSE defines defines now.
2004-07-08 06:29:45 +00:00
rocky
65fd7d3b43 Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00
rocky
6fd61d8595 Use common MODE SENSE routines in scsi-mmc.c 2004-06-28 16:02:07 +00:00