2010-11-17 19:21:24

by Seth Heasley

[permalink] [raw]
Subject: [PATCH 2.6.37-rc2] irq: irq and pci_ids patch for Intel Patsburg

This patch adds an additional LPC Controller DeviceID for the Intel Patsburg PCH.

Signed-off-by: Seth Heasley <[email protected]>

--- linux-2.6.37-rc2/include/linux/pci_ids.h.orig 2010-11-17 10:00:31.000000000 -0800
+++ linux-2.6.37-rc2/include/linux/pci_ids.h 2010-11-17 10:01:49.000000000 -0800
@@ -2466,7 +2466,8 @@
#define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN 0x1c41
#define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX 0x1c5f
#define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22
-#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC 0x1d40
+#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0 0x1d40
+#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1 0x1d41
#define PCI_DEVICE_ID_INTEL_82801AA_0 0x2410
#define PCI_DEVICE_ID_INTEL_82801AA_1 0x2411
#define PCI_DEVICE_ID_INTEL_82801AA_3 0x2413
--- linux-2.6.37-rc2/arch/x86/pci/irq.c.orig 2010-11-17 10:01:13.000000000 -0800
+++ linux-2.6.37-rc2/arch/x86/pci/irq.c 2010-11-17 10:01:33.000000000 -0800
@@ -589,7 +589,8 @@
case PCI_DEVICE_ID_INTEL_ICH10_1:
case PCI_DEVICE_ID_INTEL_ICH10_2:
case PCI_DEVICE_ID_INTEL_ICH10_3:
- case PCI_DEVICE_ID_INTEL_PATSBURG_LPC:
+ case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0:
+ case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1:
r->name = "PIIX/ICH";
r->get = pirq_piix_get;
r->set = pirq_piix_set;


2010-12-10 21:06:54

by Jesse Barnes

[permalink] [raw]
Subject: Re: [PATCH 2.6.37-rc2] irq: irq and pci_ids patch for Intel Patsburg

On Wed, 17 Nov 2010 12:12:08 -0700
Seth Heasley <[email protected]> wrote:

> This patch adds an additional LPC Controller DeviceID for the Intel Patsburg PCH.
>
> Signed-off-by: Seth Heasley <[email protected]>
>
> --- linux-2.6.37-rc2/include/linux/pci_ids.h.orig 2010-11-17 10:00:31.000000000 -0800
> +++ linux-2.6.37-rc2/include/linux/pci_ids.h 2010-11-17 10:01:49.000000000 -0800
> @@ -2466,7 +2466,8 @@
> #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN 0x1c41
> #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX 0x1c5f
> #define PCI_DEVICE_ID_INTEL_PATSBURG_SMBUS 0x1d22
> -#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC 0x1d40
> +#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0 0x1d40
> +#define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1 0x1d41
> #define PCI_DEVICE_ID_INTEL_82801AA_0 0x2410
> #define PCI_DEVICE_ID_INTEL_82801AA_1 0x2411
> #define PCI_DEVICE_ID_INTEL_82801AA_3 0x2413
> --- linux-2.6.37-rc2/arch/x86/pci/irq.c.orig 2010-11-17 10:01:13.000000000 -0800
> +++ linux-2.6.37-rc2/arch/x86/pci/irq.c 2010-11-17 10:01:33.000000000 -0800
> @@ -589,7 +589,8 @@
> case PCI_DEVICE_ID_INTEL_ICH10_1:
> case PCI_DEVICE_ID_INTEL_ICH10_2:
> case PCI_DEVICE_ID_INTEL_ICH10_3:
> - case PCI_DEVICE_ID_INTEL_PATSBURG_LPC:
> + case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0:
> + case PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1:
> r->name = "PIIX/ICH";
> r->get = pirq_piix_get;
> r->set = pirq_piix_set;
>

applied to my linux-next branch, thanks.

--
Jesse Barnes, Intel Open Source Technology Center