]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/suse-2.6.27.39/patches.xen/xen3-intel-ibex-peak-device-ids.patch
Add a patch to fix Intel E100 wake-on-lan problems.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.xen / xen3-intel-ibex-peak-device-ids.patch
1 From: Seth Heasley <seth.heasley@intel.com>
2 Date: Thu, 28 Aug 2008 22:40:59 +0000 (-0700)
3 Subject: x86/PCI: irq and pci_ids patch for Intel Ibex Peak DeviceIDs
4 X-Git-Tag: v2.6.28-rc1~77^2~28
5 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=37a84ec668ba251ae02cf2c2c664baf6b247ae1f
6 References: bnc#415383
7
8 x86/PCI: irq and pci_ids patch for Intel Ibex Peak DeviceIDs
9
10 This patch updates the Intel Ibex Peak (PCH) LPC and SMBus Controller
11 DeviceIDs.
12
13 The LPC Controller ID is set by Firmware within the range of
14 0x3b00-3b1f. This range is included in pci_ids.h using min and max
15 values, and irq.c now has code to handle the range (in lieu of 32
16 additions to a SWITCH statement).
17
18 The SMBus Controller ID is a fixed-value and will not change.
19
20 Signed-off-by: Seth Heasley <seth.heasley@intel.com>
21 Acked-by: Jean Delvare <khali@linux-fr.org>
22 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
23 Acked-by: John Jolly <jjolly@suse.de>
24 Automatically created from "patches.drivers/intel-ibex-peak-device-ids.patch" by xen-port-patches.py
25
26 --- sle11-2009-02-05.orig/arch/x86/pci/irq-xen.c 2009-02-05 10:29:06.000000000 +0100
27 +++ sle11-2009-02-05/arch/x86/pci/irq-xen.c 2009-02-05 10:41:46.000000000 +0100
28 @@ -597,13 +597,20 @@ static __init int intel_router_probe(str
29 case PCI_DEVICE_ID_INTEL_ICH10_1:
30 case PCI_DEVICE_ID_INTEL_ICH10_2:
31 case PCI_DEVICE_ID_INTEL_ICH10_3:
32 - case PCI_DEVICE_ID_INTEL_PCH_0:
33 - case PCI_DEVICE_ID_INTEL_PCH_1:
34 r->name = "PIIX/ICH";
35 r->get = pirq_piix_get;
36 r->set = pirq_piix_set;
37 return 1;
38 }
39 +
40 + if ((device >= PCI_DEVICE_ID_INTEL_PCH_LPC_MIN) &&
41 + (device <= PCI_DEVICE_ID_INTEL_PCH_LPC_MAX)) {
42 + r->name = "PIIX/ICH";
43 + r->get = pirq_piix_get;
44 + r->set = pirq_piix_set;
45 + return 1;
46 + }
47 +
48 return 0;
49 }
50