On 5/23/11 12:15 PM, Alexandre Julliard wrote:
> Charles Davis <[email protected]> writes:
> 
>> Rebased against Marcus Meissner's DECLSPEC_HIDDEN patches. (I hate you, 
>> Marcus...)
>> Try 7: Fix getting the device name for IDE devices.
>> Try 6: Fix some problems noticed by Vitaliy Margolen.
>> Try 5: Get the value of "DeviceName" from mountmgr instead of making one up.
>> Try 4: Fix unused variable warning.
>> Try 3: Add support for IDE drives.
>> Try 2: Don't depend on the SCSI generic driver on Linux.
> 
> The unix device name is not being set properly here. I would consider
> not setting the key a feature (we don't really need it), but it means
> the DMA flag isn't set either.
The problem is that Wine's winaspi/wnaspi32 is using the UnixDeviceName
key. The way it uses it, it expects a SCSI generic device (/dev/sg*).
That's why I set it to the /dev/sg* device if it's present, and don't
set it otherwise.

Most modern programs should be using SPTI instead of ASPI, though a few
older programs from the Windows 9x era might still use ASPI. Do you want
to rip out WinASPI support?

Chip


Reply via email to