Commit Graph

28 Commits

Author SHA1 Message Date
Eric Pouech ada6df3a84 Removed some dead-code. 2005-12-12 11:54:19 +01:00
Gerald Pfeifer 074d9e4caf set_last_error() is only used on Linux. 2005-08-15 09:43:09 +00:00
Vitaliy Margolen 0df36de530 Make use of now full and correct HKLM\HARDWARE\DEVICES\Scsi. 2005-08-10 10:52:22 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Gerald Pfeifer 5a86a85909 SCSI_Linux_CheckDevices() is Linux-only as well. 2005-07-06 19:12:04 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Eric Pouech 4056d7ef8c Fixed some errors in function prototypes. 2004-12-13 21:19:01 +00:00
Gerald Pfeifer 56b0939efe Move scsi_command_size from winescsi.h to SCSI_Fix_CMD_LEN(), its only
user.
2003-11-09 00:31:08 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Steven Edwards 13eae8ef2c Check for sys/ioctl.h. 2002-05-21 18:33:56 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Gavriel State fc86225450 Change useless warning into a TRACE. 2002-02-22 21:21:09 +00:00
Marcus Meissner 3f1ed52d8b Implemented 64bit file size handling.
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
David Elliott 8767ee3e24 Fixed usage of RegEnumValueA. 2001-01-09 20:52:53 +00:00
Alexandre Julliard e8e7d1eca5 Removed dependencies on Wine internal functions. 2000-11-30 01:17:55 +00:00
Andreas Mohr 365e7479f2 - fortify ASPI /proc file parsing (SCSI_getprocentry()) against
CD-ROM drives that are doing mad things with spaces
- add ERR()s in case of parsing problems
2000-11-07 20:26:14 +00:00
Andreas Mohr 4d47ec26b1 Added newer (ASPI 3.0 ?) function stubs to WNASPI32.
Better error messages.
2000-09-06 19:42:19 +00:00
Patrik Stridvall 6314ad696b Fixed some warnings. 2000-07-15 21:33:38 +00:00
David Elliott 8466fc34de - New function in aspi.c SCSI_Fix_CMD_LEN which determines if Linux is
guessing the command length correctly, and if not, tell's it what's up.
- Changed strcat to strcpy in SendASPI32Command to avoid requiring the
  caller to clear the fields.
- Added a new field to HA_Unique content to fix some applications.  Will
  fix this for good at a later date.
- Added TRACE to GetASPI32DLLVersion (and FIXME when not running under
  Linux)
- Added some constants to winescsi.h
(with the help of Bernd Bernie Meyer <bmeyer@cs.monash.edu.au>)
2000-07-15 15:15:31 +00:00
David Elliott 837d66e15a Map each channel on every host to an ASPI controller number.
Store map in HKEY_DYN_DATA.
2000-07-08 11:44:48 +00:00
Gerald Pfeifer db5da8bdd5 Avoid a link error from another DLL on FreeBSD. 2000-03-19 12:42:31 +00:00
Gerald Pfeifer c302f3bd4a Fixed FreeBSD compilation. 2000-03-12 20:19:23 +00:00
David Elliott c3bcd6cec5 - Slightly reworked include files (less messy, more straightforward).
- Moved DOS ASPI functionality to msdos/dosaspi.c.
- Got rid using PROFILE to get SCSI info from wine.conf.
- Read scsi info from /proc/scsi/scsi.
- Added setting of a reasonable timeout when opening a SCSI device (5
  minutes, defined in winescsi.h).
- ExecScsiCommand now ALWAYS posts, even on error (which is the correct
  behavior).
2000-03-08 19:41:49 +00:00