debian/patches/01_gen_pci_ids.diff |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

New commits:
commit d86e17e1fd3ba11d4211dcf445dc8421facf779f
Author: David Nusinow <[EMAIL PROTECTED]>
Date:   Thu Aug 16 23:18:09 2007 -0400

    Add 01_gen_pci_ids.diff.
    This patch has the driver generate a list of pci id's that it supports and
    installs it where the X server can find it. The server with appropriate
    support will be able to automatically determine if the intel driver is the
    proper driver to load when no driver is specified in xorg.conf.

diff --git a/debian/patches/01_gen_pci_ids.diff 
b/debian/patches/01_gen_pci_ids.diff
new file mode 100644
index 0000000..08b98f2
--- /dev/null
+++ b/debian/patches/01_gen_pci_ids.diff
@@ -0,0 +1,14 @@
+Index: xserver-xorg-video-i810/src/Makefile.am
+===================================================================
+--- xserver-xorg-video-i810.orig/src/Makefile.am       2007-08-16 
23:14:22.000000000 -0400
++++ xserver-xorg-video-i810/src/Makefile.am    2007-08-16 23:15:04.000000000 
-0400
+@@ -196,3 +196,9 @@
+ 
+ uninstall-local:
+       (cd $(DESTDIR)$(intel_drv_ladir) && rm -f i810_drv.so)
++
++pcidatadir = $(datadir)/xserver-xorg/pci
++pcidata_DATA = intel.ids
++
++intel.ids : common.h
++      awk '/^#define PCI_CHIP/ {print $$3 }' $(srcdir)/common.h | sed 
's/^0x/0x8086/' > intel.ids


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to