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

From: Daniel Drake
Date: Wed Nov 23 2005 - 06:34:16 EST


Jan Panoch wrote:
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.

PCI_DEVICE_ID_INTEL_ICH7_2 has been removed in 2.6.15 as it was unused.
Your patch is whitespace damaged (mailer ate the tabs?). You also need to send it to the linux-ide list and the IDE maintainer (see Documentation/SubmittingPatches). I don't think it will be accepted because this hardware is already supported by the ata_piix libata driver.


--- 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);


-
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/