[PATCH v4 7/20] winebus.sys: Add Linux udev bus

Aric Stewart aric at codeweavers.com
Wed Sep 7 20:34:05 CDT 2016



On 9/7/16 8:14 PM, Alexandre Julliard wrote:
> Aric Stewart <aric at codeweavers.com> writes:
> 
>> On 9/7/16 5:08 AM, Sebastian Lackner wrote:
>>> Wouldn't it be better to return an error such that IoCreateDriver() fails?
>>
>> No I personally don't think so.  We are successfully loading just disabled or not doing anything.
> 
> How is this useful? And why do you need a disable option?
> 

It mostly comes from when the hidraw bus and linux event bus where separate drivers. Where there would be a real reason to want to be able to disable one or the other. 

There could be future cases as well where multiple drivers are loaded in the base winebus.sys and a user would want to have granularity in their ability to turn individual ones on and off. 

-aric



More information about the wine-devel mailing list