Module: xenomai-head
Branch: master
Commit: 3a0daf79dfc45d3d7d6fc3292ee077c586b7b892
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=3a0daf79dfc45d3d7d6fc3292ee077c586b7b892

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Dec 20 02:43:07 2009 +0100

x86: use the new pci_ids header for the smi module

---

 ksrc/arch/x86/smi.c |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/ksrc/arch/x86/smi.c b/ksrc/arch/x86/smi.c
index 0e75cce..2116899 100644
--- a/ksrc/arch/x86/smi.c
+++ b/ksrc/arch/x86/smi.c
@@ -29,19 +29,9 @@
 #include <linux/pci.h>
 #include <linux/pci_ids.h>
 #include <linux/reboot.h>
+#include <asm-generic/xenomai/pci_ids.h>
 #include <asm/xenomai/hal.h>
 
-/* DEVICE_IDs needed for 2.4 support */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
-#ifndef PCI_DEVICE_ID_INTEL_ICH7_0
-#define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b8
-#define PCI_DEVICE_ID_INTEL_ICH7_1 0x27b9
-#endif
-#ifndef PCI_DEVICE_ID_INTEL_ICH8_4
-#define PCI_DEVICE_ID_INTEL_ICH8_4 0x2815
-#endif
-#endif
-
 static struct pci_device_id rthal_smi_pci_tbl[] = {
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AA_0)},
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801AB_0)},


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to