summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2007-10-21 23:49:14 -0400
committerDavid Nusinow <dnusinow@debian.org>2007-10-21 23:49:14 -0400
commitbe9b0e558d6172ef01ed880d47da897d2ceb25fa (patch)
treec775e1eda7ed276795dd15b39bc900e7fe61e71a /hw
parentb79b965bd9a96f79781e85c0428068caa1ba381b (diff)
Add a note as to why the text file based PCI ID scheme is present at all
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/common/xf86AutoConfig.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
index efaf45fb8..29f1279fa 100644
--- a/hw/xfree86/common/xf86AutoConfig.c
+++ b/hw/xfree86/common/xf86AutoConfig.c
@@ -330,6 +330,10 @@ autoConfigDevice(GDevPtr preconf_device)
}
#ifdef __linux__
+/* This function is used to provide a workaround for binary drivers that
+ * don't export their PCI ID's properly. If distros don't end up using this
+ * feature it can and should be removed because the symbol-based resolution
+ * scheme should be the primary one */
static void
matchDriverFromFiles (char** matches, uint16_t match_vendor, uint16_t match_chip)
{