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

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Fri Oct  1 20:15:20 2010 +0200

x86: Add PCI ID of Intel ICH9M chipset to SMI workaround

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 include/asm-arm/calibration.h |    2 +-
 include/asm-generic/pci_ids.h |    3 +++
 ksrc/arch/x86/smi.c           |    1 +
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/include/asm-arm/calibration.h b/include/asm-arm/calibration.h
index 7d8907c..1c90920 100644
--- a/include/asm-arm/calibration.h
+++ b/include/asm-arm/calibration.h
@@ -35,7 +35,7 @@ static inline unsigned long xnarch_get_sched_latency (void)
 #if defined(CONFIG_ARCH_AT91RM9200)
        return 8500;
 #elif defined(CONFIG_ARCH_AT91SAM9263)
-       return 18000;
+       return 11000;
 #elif defined(CONFIG_ARCH_OMAP3)
        return 5000;
 #else
diff --git a/include/asm-generic/pci_ids.h b/include/asm-generic/pci_ids.h
index df4a6d4..0ae95d2 100644
--- a/include/asm-generic/pci_ids.h
+++ b/include/asm-generic/pci_ids.h
@@ -19,6 +19,9 @@
 #ifndef PCI_DEVICE_ID_INTEL_ICH9_1
 #define PCI_DEVICE_ID_INTEL_ICH9_1 0x2917
 #endif
+#ifndef PCI_DEVICE_ID_INTEL_ICH9_5
+#define PCI_DEVICE_ID_INTEL_ICH9_5 0x2919
+#endif
 #ifndef PCI_DEVICE_ID_INTEL_ICH10_1
 #define PCI_DEVICE_ID_INTEL_ICH10_1 0x3a16
 #endif
diff --git a/ksrc/arch/x86/smi.c b/ksrc/arch/x86/smi.c
index cb2c6e3..d0b4e71 100644
--- a/ksrc/arch/x86/smi.c
+++ b/ksrc/arch/x86/smi.c
@@ -51,6 +51,7 @@ static struct pci_device_id rthal_smi_pci_tbl[] = {
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_1)},
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_4)},
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_1)},
+       {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH9_5)},
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH10_1)},
        {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_PCH_LPC_MIN+7)},
        {0,},


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

Reply via email to