Commit graph

60 commits

Author SHA1 Message Date
Marcus Meissner
bd6729dd08 wnaspi32: Mark internal symbols as hidden. 2011-04-28 18:13:52 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard
a85b6fe2c4 wnaspi32: Use explicit prototypes for function pointers. 2009-10-02 15:06:59 +02:00
Alexandre Julliard
a2ae7dd06c wnaspi32: Make winaspi.dll into a stand-alone 16-bit module. 2009-03-23 20:33:34 +01:00
Gerald Pfeifer
1420ef9c4b wnaspi32: Invoke ASPI_SendASPICommand() on non-Linux platforms, too. 2009-02-05 14:27:25 +01:00
Andrew Talbot
acbba11c49 wnaspi32: Declare some functions static. 2009-02-03 12:39:28 +01:00
Francois Gouget
f2c5f6a288 wnaspi32: Add a trailing '\n' to a Wine trace. 2008-12-29 11:35:37 +01:00
Francois Gouget
2c23ad2588 wnaspi32: Remove unneeded casts. 2008-12-08 12:05:49 +01:00
Michael Stefaniuc
f4c2f2b0c4 wnaspi32: Remove some superfluous casts. 2008-12-05 12:36:29 +01:00
Michael Stefaniuc
81f919fd37 wnaspi32: Replace malloc with HeapAlloc. 2008-12-05 12:36:26 +01:00
Roderick Colenbrander
fff24b061c wnaspi32: Fix a buffer size regression. 2008-11-05 15:46:28 +01:00
Rob Shearman
8ef9d20f96 wnaspi32: Protect the inclusion of dirent.h in aspi.c.
This allows the file to be compiled on platforms that don't have the
header file, such as MSVC.
2008-10-14 13:41:54 +02:00
Marcus Meissner
0ff2c06c1d Fixed RegEnumKey(Ex)W buffer sizes. 2008-10-13 12:04:26 +02:00
Andrew Talbot
53eacee0da wnaspi32: Remove unused variables. 2008-05-05 12:53:13 +02:00
Andrew Talbot
d0986ac5ad wnaspi32: Assign to struct instead of using memcpy. 2008-03-24 11:32:53 +01:00
Rob Shearman
48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Andrew Talbot
49665fa354 wnaspi32: Remove unneeded cast. 2008-02-08 11:02:34 +01:00
Rok Mandeljc
47d1fee7fc wnaspi32: Fix controller number validation. 2007-11-02 13:03:38 +01:00
Rok Mandeljc
3a59ac0829 wnaspi32: Fix Controller -> H/C mapping. 2007-11-02 13:03:31 +01:00
Rok Mandeljc
1161d0e15e wnaspi32: Do the command dumping only after device has been verified. 2007-11-02 13:03:23 +01:00
Rok Mandeljc
084636c518 wnaspi32: Call ASPI_GetNumControllers() only once. 2007-11-02 13:02:14 +01:00
Rok Mandeljc
a2a34bd80b wnaspi32: Degrade ERR of not finding registry entry for a device to TRACE. 2007-11-02 13:02:06 +01:00
Rok Mandeljc
b6a9257077 wnaspi32: Print error when device cannot be opened. 2007-11-02 13:01:59 +01:00
Stefan Huehner
51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Andrew Talbot
2a6024504a wnaspi32: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL. 2007-01-02 13:20:41 +01:00
Michael Stefaniuc
72e64f53b1 wnaspi32: Win64 printf format warning fixes. 2006-10-07 17:47:46 +02:00
Michael Stefaniuc
85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard
32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard
eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard
5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
071f5f25db wnaspi32: Renamed the winaspi directory to wnaspi32. 2006-02-28 12:59:52 +01: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
Alexandre Julliard
d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Alexandre Julliard
90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Alexandre Julliard
383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard
318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Patrik Stridvall
7b0a088f5a Non-Linux compile fix. 2000-01-09 21:42:42 +00:00
David Elliott
8b8a3438e2 Removed malloc/free hack and replaced with HeapAlloc/HeapFree throughout code.
Added critical section around code dealing with global variables.
Added a few comments about how ASPI is supposed to work.
Copy sense info into the correct place (right after the fixed 16-byte CDB).
Now returns target status (many Windows apps won't even look at the
sense are unless they get an error code).
Added SC_ABORT_SRB FIXME.
Added SC_GET_DISK_INFO place holder for clarity.
Updated Linux SG interface structure to include new kernel 2.2
status fields.
2000-01-08 22:25:02 +00:00
Marcus Meissner
5b66f70f67 Small fix to get GET_DEVICE_TYPE working (verified by Dan Kegel). 1999-12-20 04:02:48 +00:00
Patrik Stridvall
96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall
d7da486c96 Added spec file declarations for already implemented functions. 1999-10-24 21:35:16 +00:00
Marcus Meissner
7e09874d92 Don't use malloc/free in winaspi32. 1999-10-13 12:14:26 +00:00
Marcus Meissner
eb71e50491 Added SC_GET_DEVTYPE. 1999-09-19 12:08:18 +00:00
Alexandre Julliard
15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Ulrich Weigand
daed93ee99 Moved .spec files to corresponding dlls/ directory. 1999-07-25 13:14:13 +00:00
Patrik Stridvall
021bd85834 Make it possible to compile with GNU C's -I- option. 1999-07-18 18:40:11 +00:00