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

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

drivers: add a pci_ids.h driver

to add missing PCI IDS to older kernel releases.

---

 include/asm-generic/Makefile.am |    1 +
 include/asm-generic/pci_ids.h   |   25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/include/asm-generic/Makefile.am b/include/asm-generic/Makefile.am
index 3238976..6fe46e3 100644
--- a/include/asm-generic/Makefile.am
+++ b/include/asm-generic/Makefile.am
@@ -4,6 +4,7 @@ includesub_HEADERS = \
        arith.h \
        features.h \
        hal.h \
+       pci_ids.h \
        syscall.h \
        system.h \
        wrappers.h
diff --git a/include/asm-generic/pci_ids.h b/include/asm-generic/pci_ids.h
new file mode 100644
index 0000000..b10cdf3
--- /dev/null
+++ b/include/asm-generic/pci_ids.h
@@ -0,0 +1,25 @@
+#ifndef _XENO_ASM_GENERIC_PCI_IDS_H
+#define _XENO_ASM_GENERIC_PCI_IDS_H
+
+#include <linux/pci_ids.h>
+
+/* SMI */
+#ifndef PCI_DEVICE_ID_INTEL_ICH7_0
+#define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b8
+#endif
+#ifndef PCI_DEVICE_ID_INTEL_ICH7_1
+#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
+
+/* RTCAN */
+#ifndef PCI_VENDOR_ID_ESDGMBH
+#define PCI_VENDOR_ID_ESDGMBH 0x12fe
+#endif
+#ifndef PCI_DEVICE_ID_PLX_9030
+#define PCI_DEVICE_ID_PLX_9030 0x9030
+#endif
+
+#endif /* _XENO_ASM_GENERIC_PCI_IDS_H */


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

Reply via email to