/[linux-patches]/genpatches-2.6/historical/2.6.10/4310_ich7-ide-support.patch
Gentoo

Contents of /genpatches-2.6/historical/2.6.10/4310_ich7-ide-support.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (show annotations) (download) (as text)
Sat Jun 11 23:16:54 2005 UTC (15 years, 2 months ago) by dsd
File MIME type: text/x-diff
File size: 4419 byte(s)
Import historical releases
1 # This is a BitKeeper generated diff -Nru style patch.
2 #
3 # ChangeSet
4 # 2004/12/30 22:40:35+01:00 bzolnier@trik.(none)
5 # [patch] Intel ICH7 DID's, PIRQ and PATA support
6 #
7 # From: Jason Gaston <jason.d.gaston@intel.com>
8 #
9 # This patch adds the Intel ICH7 DID's to the pci_ids.h file
10 # and updates the piix driver and related files for PATA support.
11 #
12 # bart: this patch also adds PIRQ support
13 #
14 # Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
15 #
16 # arch/i386/pci/irq.c
17 # 2004/12/28 16:07:28+01:00 bzolnier@trik.(none) +2 -0
18 # [patch] Intel ICH7 DID's, PIRQ and PATA support
19 #
20 # drivers/ide/pci/piix.c
21 # 2004/12/28 16:07:28+01:00 bzolnier@trik.(none) +3 -0
22 # [patch] Intel ICH7 DID's, PIRQ and PATA support
23 #
24 # drivers/ide/pci/piix.h
25 # 2004/12/28 16:07:28+01:00 bzolnier@trik.(none) +2 -1
26 # [patch] Intel ICH7 DID's, PIRQ and PATA support
27 #
28 # include/linux/pci_ids.h
29 # 2004/12/28 16:07:28+01:00 bzolnier@trik.(none) +24 -0
30 # [patch] Intel ICH7 DID's, PIRQ and PATA support
31 #
32 diff -Nru a/arch/i386/pci/irq.c b/arch/i386/pci/irq.c
33 --- a/arch/i386/pci/irq.c 2005-01-01 11:12:29 -08:00
34 +++ b/arch/i386/pci/irq.c 2005-01-01 11:12:29 -08:00
35 @@ -491,6 +491,8 @@
36 case PCI_DEVICE_ID_INTEL_ESB_1:
37 case PCI_DEVICE_ID_INTEL_ICH6_0:
38 case PCI_DEVICE_ID_INTEL_ICH6_1:
39 + case PCI_DEVICE_ID_INTEL_ICH7_0:
40 + case PCI_DEVICE_ID_INTEL_ICH7_1:
41 r->name = "PIIX/ICH";
42 r->get = pirq_piix_get;
43 r->set = pirq_piix_set;
44 diff -Nru a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c
45 --- a/drivers/ide/pci/piix.c 2005-01-01 11:12:29 -08:00
46 +++ b/drivers/ide/pci/piix.c 2005-01-01 11:12:29 -08:00
47 @@ -134,6 +134,7 @@
48 case PCI_DEVICE_ID_INTEL_82801EB_11:
49 case PCI_DEVICE_ID_INTEL_ESB_2:
50 case PCI_DEVICE_ID_INTEL_ICH6_19:
51 + case PCI_DEVICE_ID_INTEL_ICH7_21:
52 mode = 3;
53 break;
54 /* UDMA 66 capable */
55 @@ -445,6 +446,7 @@
56 case PCI_DEVICE_ID_INTEL_82801E_11:
57 case PCI_DEVICE_ID_INTEL_ESB_2:
58 case PCI_DEVICE_ID_INTEL_ICH6_19:
59 + case PCI_DEVICE_ID_INTEL_ICH7_21:
60 {
61 unsigned int extra = 0;
62 pci_read_config_dword(dev, 0x54, &extra);
63 @@ -611,6 +613,7 @@
64 #endif
65 { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ESB_2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 19},
66 { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH6_19, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 20},
67 + { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH7_21, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 21},
68 { 0, },
69 };
70 MODULE_DEVICE_TABLE(pci, piix_pci_tbl);
71 diff -Nru a/drivers/ide/pci/piix.h b/drivers/ide/pci/piix.h
72 --- a/drivers/ide/pci/piix.h 2005-01-01 11:12:29 -08:00
73 +++ b/drivers/ide/pci/piix.h 2005-01-01 11:12:29 -08:00
74 @@ -57,7 +57,8 @@
75 /* 17 */ DECLARE_PIIX_DEV("ICH4"),
76 /* 18 */ DECLARE_PIIX_DEV("ICH5-SATA"),
77 /* 19 */ DECLARE_PIIX_DEV("ICH5"),
78 - /* 20 */ DECLARE_PIIX_DEV("ICH6")
79 + /* 20 */ DECLARE_PIIX_DEV("ICH6"),
80 + /* 21 */ DECLARE_PIIX_DEV("ICH7"),
81 };
82
83 #endif /* PIIX_H */
84 diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
85 --- a/include/linux/pci_ids.h 2005-01-01 11:12:29 -08:00
86 +++ b/include/linux/pci_ids.h 2005-01-01 11:12:29 -08:00
87 @@ -2228,6 +2228,30 @@
88 #define PCI_DEVICE_ID_INTEL_ICH6_17 0x266d
89 #define PCI_DEVICE_ID_INTEL_ICH6_18 0x266e
90 #define PCI_DEVICE_ID_INTEL_ICH6_19 0x266f
91 +#define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b0
92 +#define PCI_DEVICE_ID_INTEL_ICH7_1 0x27b1
93 +#define PCI_DEVICE_ID_INTEL_ICH7_2 0x27c0
94 +#define PCI_DEVICE_ID_INTEL_ICH7_3 0x27c1
95 +#define PCI_DEVICE_ID_INTEL_ICH7_4 0x27c2
96 +#define PCI_DEVICE_ID_INTEL_ICH7_5 0x27c4
97 +#define PCI_DEVICE_ID_INTEL_ICH7_6 0x27c5
98 +#define PCI_DEVICE_ID_INTEL_ICH7_7 0x27c8
99 +#define PCI_DEVICE_ID_INTEL_ICH7_8 0x27c9
100 +#define PCI_DEVICE_ID_INTEL_ICH7_9 0x27ca
101 +#define PCI_DEVICE_ID_INTEL_ICH7_10 0x27cb
102 +#define PCI_DEVICE_ID_INTEL_ICH7_11 0x27cc
103 +#define PCI_DEVICE_ID_INTEL_ICH7_12 0x27d0
104 +#define PCI_DEVICE_ID_INTEL_ICH7_13 0x27d2
105 +#define PCI_DEVICE_ID_INTEL_ICH7_14 0x27d4
106 +#define PCI_DEVICE_ID_INTEL_ICH7_15 0x27d6
107 +#define PCI_DEVICE_ID_INTEL_ICH7_16 0x27d8
108 +#define PCI_DEVICE_ID_INTEL_ICH7_17 0x27da
109 +#define PCI_DEVICE_ID_INTEL_ICH7_18 0x27dc
110 +#define PCI_DEVICE_ID_INTEL_ICH7_19 0x27dd
111 +#define PCI_DEVICE_ID_INTEL_ICH7_20 0x27de
112 +#define PCI_DEVICE_ID_INTEL_ICH7_21 0x27df
113 +#define PCI_DEVICE_ID_INTEL_ICH7_22 0x27e0
114 +#define PCI_DEVICE_ID_INTEL_ICH7_23 0x27e2
115 #define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340
116 #define PCI_DEVICE_ID_INTEL_82830_HB 0x3575
117 #define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577

  ViewVC Help
Powered by ViewVC 1.1.20