[PATCH] PATA support for Intel ICH7 (intel 945G chipset) - 2.6.14.2

From: Jan Panoch
Date: Tue Nov 22 2005 - 22:05:42 EST


Hi,

This patch adds additional Intel ICH7 DID's for Intel chipset 945G to
the piix driver.
I need to add PATA support for new intel 945G chipset on Asus
motherboard P5LD2-VM.
If acceptable, please apply.

Thanks,

Jan

--- piix.c.orig 2005-11-23 11:46:12.000000000 +0100
+++ piix.c 2005-11-23 11:13:02.000000000 +0100
@@ -134,6 +134,7 @@
case PCI_DEVICE_ID_INTEL_ESB_2:
case PCI_DEVICE_ID_INTEL_ICH6_19:
case PCI_DEVICE_ID_INTEL_ICH7_21:
+ case PCI_DEVICE_ID_INTEL_ICH7_2:
case PCI_DEVICE_ID_INTEL_ESB2_18:
mode = 3;
break;
@@ -448,6 +449,7 @@
case PCI_DEVICE_ID_INTEL_ESB_2:
case PCI_DEVICE_ID_INTEL_ICH6_19:
case PCI_DEVICE_ID_INTEL_ICH7_21:
+ case PCI_DEVICE_ID_INTEL_ICH7_2:
case PCI_DEVICE_ID_INTEL_ESB2_18:
{
unsigned int extra = 0;
@@ -575,6 +577,7 @@
/* 21 */ DECLARE_PIIX_DEV("ICH7"),
/* 22 */ DECLARE_PIIX_DEV("ICH4"),
/* 23 */ DECLARE_PIIX_DEV("ESB2"),
+ /* 24 */ DECLARE_PIIX_DEV("ICH7"),
};

/**
@@ -651,6 +654,7 @@
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_21, PCI_ANY_ID,
PCI_ANY_ID, 0, 0, 21},
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82801DB_1,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 22},
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB2_18, PCI_ANY_ID,
PCI_ANY_ID, 0, 0, 23},
+ { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_2, PCI_ANY_ID,
PCI_ANY_ID, 0, 0, 24},
{ 0, },
};
MODULE_DEVICE_TABLE(pci, piix_pci_tbl);

--
Jan Panoch

======================
mail: jan@xxxxxxxxxx
Skype: jan.panoch


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/