[PATCH] Implement PCI ID-based Driver Autoloading
David Nusinow
dnusinow at speakeasy.net
Sat Jan 26 14:09:22 PST 2008
Hello all,
The attached patches implement PCI ID-based driver autoloading. The
drivers have to be pci-reworked. They also remove the previous autoloading
schemes, including my half-baked text file-based version and the vendor id
based heuristic.
If a driver wants to support everything from a particular vendor, they
claim the vendor ID normally and set the device id as UINT16_MAX.
A missing feature is if multiple chips claim the same ID. Currently it
will just load the first such driver found, but ideally there should be a
way for drivers to specify a priority or override somehow in the future.
Comments and criticisms are greatly appreciated. If no one speaks up
I'll apply these in a week to master.
- David Nusinow
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Load-drivers-based-on-PCI-IDs.patch
Type: text/x-diff
Size: 5526 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080126/14790ebc/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Allow-drivers-to-claim-support-for-all-of-a-manufact.patch
Type: text/x-diff
Size: 1443 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080126/14790ebc/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Remove-the-old-heuristic-for-choosing-a-driver-based.patch
Type: text/x-diff
Size: 2714 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080126/14790ebc/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Remove-old-file-based-autoloader.-The-symbol-based-o.patch
Type: text/x-diff
Size: 8651 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080126/14790ebc/attachment-0003.patch>
More information about the xorg
mailing list