From be9b0e558d6172ef01ed880d47da897d2ceb25fa Mon Sep 17 00:00:00 2001 From: David Nusinow Date: Sun, 21 Oct 2007 23:49:14 -0400 Subject: [PATCH] Add a note as to why the text file based PCI ID scheme is present at all --- hw/xfree86/common/xf86AutoConfig.c | 4 ++++ 1 file changed, 4 insertions(+) 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) {