PATA support for Intel ICH7 - 2.6.10 - repost
PATCH 1/1 PATA support for Intel ICH7 - 2.6.10 - repost
Reposting patch with word wrap turned off. Please let me know if this is still not formated correctly.
This patch adds the Intel ICH7 DID's to the pci_ids.h file and updates the piix driver and related files for PATA support. If acceptable, please apply.
Thanks,
Jason Gaston
arch/i386/pci/irq.c renamed from arch/i386/pci/irq.c.orig +2 -0
@@ -491,6 +491,8 @@case PCI_DEVICE_ID_INTEL_ESB_1 :case PCI_DEVICE_ID_INTEL_ICH6_0 :case PCI_DEVICE_ID_INTEL_ICH6_1 : +case PCI_DEVICE_ID_INTEL_ICH7_0 : +case PCI_DEVICE_ID_INTEL_ICH7_1 : r->name ="PIIX/ICH" ; r->get = pirq_piix_get; r->set = pirq_piix_set;
drivers/ide/pci/piix.c renamed from drivers/ide/pci/piix.c.orig +3 -0
@@ -134,6 +134,7 @@case PCI_DEVICE_ID_INTEL_82801EB_11 :case PCI_DEVICE_ID_INTEL_ESB_2 :case PCI_DEVICE_ID_INTEL_ICH6_19 : +case PCI_DEVICE_ID_INTEL_ICH7_21 : mode =3 ;break ;/* UDMA 66 capable */
@@ -445,6 +446,7 @@case PCI_DEVICE_ID_INTEL_82801E_11 :case PCI_DEVICE_ID_INTEL_ESB_2 :case PCI_DEVICE_ID_INTEL_ICH6_19 : +case PCI_DEVICE_ID_INTEL_ICH7_21 : {unsigned int extra =0 ;pci_read_config_dword (dev,0x54 , &extra);
@@ -612,6 +614,7 @@#endif { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 19}, { 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}, { 0, }, };MODULE_DEVICE_TABLE (pci, piix_pci_tbl);
drivers/ide/pci/piix.h renamed from drivers/ide/pci/piix.h.orig +2 -1
@@ -57,7 +57,8 @@/* 17 */ DECLARE_PIIX_DEV ("ICH4" ),/* 18 */ DECLARE_PIIX_DEV ("ICH5-SATA" ),/* 19 */ DECLARE_PIIX_DEV ("ICH5" ), -/* 20 */ DECLARE_PIIX_DEV ("ICH6" ) +/* 20 */ DECLARE_PIIX_DEV ("ICH6" ), + /* 21 */ DECLARE_PIIX_DEV("ICH7"), };#endif /* PIIX_H */
include/linux/pci_ids.h renamed from include/linux/pci_ids.h.orig +24 -0
@@ -2225,6 +2225,30 @@#define PCI_DEVICE_ID_INTEL_ICH6_17 0x266d#define PCI_DEVICE_ID_INTEL_ICH6_18 0x266e#define PCI_DEVICE_ID_INTEL_ICH6_19 0x266f +#define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b0 +#define PCI_DEVICE_ID_INTEL_ICH7_1 0x27b1 +#define PCI_DEVICE_ID_INTEL_ICH7_2 0x27c0 +#define PCI_DEVICE_ID_INTEL_ICH7_3 0x27c1 +#define PCI_DEVICE_ID_INTEL_ICH7_4 0x27c2 +#define PCI_DEVICE_ID_INTEL_ICH7_5 0x27c4 +#define PCI_DEVICE_ID_INTEL_ICH7_6 0x27c5 +#define PCI_DEVICE_ID_INTEL_ICH7_7 0x27c8 +#define PCI_DEVICE_ID_INTEL_ICH7_8 0x27c9 +#define PCI_DEVICE_ID_INTEL_ICH7_9 0x27ca +#define PCI_DEVICE_ID_INTEL_ICH7_10 0x27cb +#define PCI_DEVICE_ID_INTEL_ICH7_11 0x27cc +#define PCI_DEVICE_ID_INTEL_ICH7_12 0x27d0 +#define PCI_DEVICE_ID_INTEL_ICH7_13 0x27d2 +#define PCI_DEVICE_ID_INTEL_ICH7_14 0x27d4 +#define PCI_DEVICE_ID_INTEL_ICH7_15 0x27d6 +#define PCI_DEVICE_ID_INTEL_ICH7_16 0x27d8 +#define PCI_DEVICE_ID_INTEL_ICH7_17 0x27da +#define PCI_DEVICE_ID_INTEL_ICH7_18 0x27dc +#define PCI_DEVICE_ID_INTEL_ICH7_19 0x27dd +#define PCI_DEVICE_ID_INTEL_ICH7_20 0x27de +#define PCI_DEVICE_ID_INTEL_ICH7_21 0x27df +#define PCI_DEVICE_ID_INTEL_ICH7_22 0x27e0 +#define PCI_DEVICE_ID_INTEL_ICH7_23 0x27e2#define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340#define PCI_DEVICE_ID_INTEL_82830_HB 0x3575#define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577
Bartlomiej Zolnierkiewicz
AppliedHi,
Quoted 3 lines · Jason Gaston
Reposting patch with word wrap turned off. Please let me know if this is still not formated correctly.
This patch adds the Intel ICH7 DID's to the
pci_ids.hfile and updates the piix driver and related files for PATA support.
this patch also seems to add PIRQ support
Quoted 3 lines
If acceptable, please apply.
Thanks,
applied