Mike McCormack
b5bd4a101a
Fix gcc 4.0 warnings.
2005-09-02 14:47:36 +00:00
Vitaliy Margolen
d27c7135ef
Add trace to IOCTL_CDROM_RAW_READ.
2005-08-18 10:49:04 +00:00
Francois Gouget
bcd56fe0e5
Assorted spelling fixes.
2005-08-12 18:22:06 +00:00
Tobias Gruetzmacher
cdd75bd413
Reverse the direction of raw SCSI commands.
2005-08-08 11:02:32 +00:00
Vitaliy Margolen
fa9c730cf6
Implement IOCTL_SCSI_GET_INQUIRY_DATA.
2005-08-03 10:55:12 +00:00
Vitaliy Margolen
0cb33a9d51
Fixed IOCTL_SCSI_GET_ADDRESS.
2005-08-01 14:50:59 +00:00
Vitaliy Margolen
1a7257e198
Fix IOCTL_CDROM_RAW_READ ioctl.
2005-07-20 10:28:27 +00:00
Gerald Pfeifer
b8b15f3e6e
Add a configure check for struct request_sense. Use this in
...
CDROM_ScsiPassThroughDir() and CDROM_ScsiPassThrough() to unbreak the
build on FreeBSD.
2005-07-10 17:42:46 +00:00
Phil Krylov
0f6c0394bf
Fixed dlls/ntdll/cdrom.c compilation in Darwin by adding HAVE_IOKit
...
detection to configure and defining SENSEBUFLEN as kSenseDefaultSize
(which is corresponding IOKit enum value).
2005-07-01 19:15:26 +00:00
Gerald Pfeifer
643dc21738
Avoid unused variable warnings in CDROM_ScsiPassThroughDir() and
...
CDROM_ScsiPassThrough().
2005-06-30 10:19:26 +00:00
Mike Hearn
92a32db23e
Fix GCC4 warning.
2005-06-29 19:18:54 +00:00
Dmitry Timoshkov
cb7de15ebe
A workaround for missing struct request_sense on FreeBSD.
2005-06-29 11:00:44 +00:00
Dmitry Timoshkov
ea64a36a44
Add a check for sg_io_hdr_t and (not tested) check for scsireq_t
...
presence.
2005-06-27 12:07:49 +00:00
Mike McCormack
6b636e3e7b
Use RTL_CRITICAL_SECTION instead of CRITICAL_SECTION.
2005-06-25 18:00:57 +00:00
Mike McCormack
04f9f1b066
Don't include winbase.h or winerror.h when not necessary.
2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758
Use HANDLE instead of HKEY in the NT API.
2005-06-17 13:58:33 +00:00
Ivan Leo Puoti
eacd06264e
Reimplement IOCTL_SCSI_PASS_THROUGH_DIRECT and
...
IOCTL_SCSI_PASS_THROUGH on top of the linux scsi driver.
2005-06-14 12:25:41 +00:00
Francois Gouget
821d4c4645
Fix nativeapi.pm so it knows about AC_HEADER_STAT().
...
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Robert Shearman
af056e7e24
- Add a complete, sorted listed of IOCTLS implemented in the file.
...
- Dump track numbers after they have been filled in.
2005-01-07 15:33:58 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Hans Leidekker
a9b4a471a9
Fix signed/unsigned comparison warnings.
2004-08-13 23:53:44 +00:00
Gerald Pfeifer
69075d0c1c
Remove incorrect support for FreeBSD and NetBSD in
...
DVD_StartSession().
2004-06-16 19:03:25 +00:00
Uwe Bonnes
e98a664d57
Support for reading encrypted DVDs.
2004-06-15 00:45:01 +00:00
Alexandre Julliard
ffcc67abf1
Added auto-detection of DOS drive devices based on finding the
...
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +00:00
Alexandre Julliard
7b6651a9e1
Moved creation of the CDROM registry keys into the registry loading
...
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard
68cc54330e
Do not store the Unix file descriptor in the cache structure.
...
Protect the global cache with a critical section.
2004-03-05 20:45:33 +00:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Marcus Meissner
34528b91a9
Fixed potentially uninitialised sz.
2003-12-15 19:46:51 +00:00
Gerald Pfeifer
bcb09c198d
The CDDA case of CDROM_RawRead() no longer works on FreeBSD -CURRENT,
...
remove it. Also, combine the FreeBSD and NetBSD NYI notes.
2003-11-04 04:23:49 +00:00
Alexandre Julliard
01def427b7
Pass the cdrom device path in CDROM_InitRegistry so that ntdll doesn't
...
need to call DRIVE_GetDevice.
Get rid of GetDriveType calls.
2003-10-08 02:59:22 +00:00
Rein Klazes
c6c404dcd6
Added a check for <scsi/scsi.h> and include it in dlls/ntdll/cdrom.c.
2003-10-07 22:49:22 +00:00
Alexandre Julliard
fbb5390a32
Avoid closing the cdrom if we failed to open it.
2003-10-03 04:35:55 +00:00
Pavel Roskin
8956e41b82
Add support for SCSI CD-ROMs to CDROM_GetInterfaceInfo().
...
Fix device number for IDE CD-ROMs. Return 0 for unsupported drives.
2003-10-03 04:33:25 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech
583bb3fd3e
- started implementing ntdll.NtDeviceIoControlFile and made
...
kernel32.DeviceIoControl call it
- changed cdrom ioctl function's prototype to stick to
ntdll.NtDeviceIoControlFile signature
2003-06-24 19:28:21 +00:00
Eric Pouech
1bb3859ece
Added support for overlapped ioctl requests (and a few other
...
cosmetics).
2003-06-13 16:33:50 +00:00
Yorick Hardy
4b1f667e73
Improve CDROM_GetIdeInterface (becomes CDROM_GetInterfaceInfo), in
...
order to better support SCSI drives.
2003-06-04 20:15:59 +00:00
Yorick Hardy
d1d5ca539d
Implement CDROM_ScsiPassThrough and CDROM_ScsiPassThroughDirect on
...
NetBSD.
2003-05-20 19:17:04 +00:00
Yorick Hardy
c26b7dbad9
Added the implementation for CDROM_GetIdeInterface on NetBSD.
2003-05-19 21:46:09 +00:00
Eric Pouech
70f3522933
Fixed a few FormatCode entries.
2003-04-02 00:59:12 +00:00
Eric Pouech
255b6141f2
Fixed some unneeded unix to Win32 error mapping.
2003-03-20 21:59:50 +00:00
Gerald Pfeifer
fa8cca5e47
Define CD_SECS and CD_FRAMES also on non-Linux systems. Avoid a
...
non-portable TRACE on non-Linux systems.
2003-02-25 03:56:21 +00:00
Waldeck Schutzer
52a414c26d
- Some systems/drives are very slow to read the TOC. To address this
...
issue, we are caching it inside the driver.
- Windows will seek while not playing, Linux will not. We are
providing better compatibility with Windows by also caching the
current position.
2003-02-19 22:08:50 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00
Gerald Pfeifer
6fb1c40eb9
Only declare variables we actually need.
2003-01-21 19:30:52 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Alex Pasadyn
a96caa0700
Fix return from IOCTL_CDROM_CHECK_VERIFY.
2002-12-12 22:23:35 +00:00
Alexandre Julliard
f2ef2c2bb2
Handle special registry root keys directly in advapi32, and avoid
...
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00