Contents

removeDrivers

Remove driver personalities from the database based on matching information provided.

Declaration

bool removeDrivers(
 OSDictionary *matching,
 bool doNubMatching = true );

Parameters

  • matching:

    A dictionary whose keys and values are used for matching personalities in the database. For example, a matching dictionary containing a 'IOProviderClass' key with the value 'IOPCIDevice' will remove all personalities which have the key 'IOProviderClass' equal to 'IOPCIDevice'.

  • doNubMatchng:

    Start matching process after personalities have been removed. Matching criteria is based on IOProviderClass of those personalities which were removed. This is to allow drivers which haven't been matched to match against NUB's which were blocked by the previous personalities.

Return Value

Returns true if personality was removed successfully. Failure is due to a memory allocation failure.

See Also

Miscellaneous