[PATCH 2.6.11.6 2/6] piix: IDE PATA patch for Intel ESB2
From: Jason Gaston
Date: Tue Apr 05 2005 - 13:41:41 EST
Hello,
This patch adds the Intel ESB2 DID's to the piix.c file for IDE PATA support. This patch was built against the 2.6.11.6 kernel.
If acceptable, please apply. Note: This patch depends on the previous 1/6 patch for pci_ids.h
Thanks,
Jason Gaston
Signed-off-by: Jason Gaston <Jason.d.gaston@xxxxxxxxx>
--- linux-2.6.11.6/drivers/ide/pci/piix.c.orig 2005-03-28 08:54:23.801062400 -0800
+++ linux-2.6.11.6/drivers/ide/pci/piix.c 2005-03-28 08:58:05.332384520 -0800
@@ -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_ESB2_18:
mode = 3;
break;
/* UDMA 66 capable */
@@ -447,6 +448,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_ESB2_18:
{
unsigned int extra = 0;
pci_read_config_dword(dev, 0x54, &extra);
@@ -572,6 +574,7 @@
/* 20 */ DECLARE_PIIX_DEV("ICH6"),
/* 21 */ DECLARE_PIIX_DEV("ICH7"),
/* 22 */ DECLARE_PIIX_DEV("ICH4"),
+ /* 23 */ DECLARE_PIIX_DEV("ESB2"),
};
/**
@@ -647,6 +650,7 @@
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_19, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 20},
{ 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},
{ 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/