diff options
author | Jason Gaston <jason.d.gaston@intel.com> | 2006-01-17 15:28:48 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2006-01-17 19:31:54 -0500 |
commit | 012b265f76ce5d497b182569dc77f2c68662bead (patch) | |
tree | e361d2f2208983c66c9110fce91bb7213f62976a | |
parent | 1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 (diff) |
[PATCH] Intel ICH8 SATA: add PCI device IDs
Signed-off-by: Jason Gaston <Jason.d.gaston@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
-rw-r--r-- | drivers/pci/quirks.c | 5 | ||||
-rw-r--r-- | drivers/scsi/ata_piix.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 605f0df0bfba..dda6099903c1 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -1142,6 +1142,9 @@ static void __devinit quirk_intel_ide_combined(struct pci_dev *pdev) | |||
1142 | case 0x27c4: | 1142 | case 0x27c4: |
1143 | ich = 7; | 1143 | ich = 7; |
1144 | break; | 1144 | break; |
1145 | case 0x2828: /* ICH8M */ | ||
1146 | ich = 8; | ||
1147 | break; | ||
1145 | default: | 1148 | default: |
1146 | /* we do not handle this PCI device */ | 1149 | /* we do not handle this PCI device */ |
1147 | return; | 1150 | return; |
@@ -1161,7 +1164,7 @@ static void __devinit quirk_intel_ide_combined(struct pci_dev *pdev) | |||
1161 | else | 1164 | else |
1162 | return; /* not in combined mode */ | 1165 | return; /* not in combined mode */ |
1163 | } else { | 1166 | } else { |
1164 | WARN_ON((ich != 6) && (ich != 7)); | 1167 | WARN_ON((ich != 6) && (ich != 7) && (ich != 8)); |
1165 | tmp &= 0x3; /* interesting bits 1:0 */ | 1168 | tmp &= 0x3; /* interesting bits 1:0 */ |
1166 | if (tmp & (1 << 0)) | 1169 | if (tmp & (1 << 0)) |
1167 | comb = (1 << 2); /* PATA port 0, SATA port 1 */ | 1170 | comb = (1 << 2); /* PATA port 0, SATA port 1 */ |
diff --git a/drivers/scsi/ata_piix.c b/drivers/scsi/ata_piix.c index 557788ec4eec..fc3ca051ceed 100644 --- a/drivers/scsi/ata_piix.c +++ b/drivers/scsi/ata_piix.c | |||
@@ -157,6 +157,9 @@ static const struct pci_device_id piix_pci_tbl[] = { | |||
157 | { 0x8086, 0x27c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | 157 | { 0x8086, 0x27c0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, |
158 | { 0x8086, 0x27c4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | 158 | { 0x8086, 0x27c4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, |
159 | { 0x8086, 0x2680, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | 159 | { 0x8086, 0x2680, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, |
160 | { 0x8086, 0x2820, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | ||
161 | { 0x8086, 0x2825, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | ||
162 | { 0x8086, 0x2828, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich6_sata_ahci }, | ||
160 | 163 | ||
161 | { } /* terminate list */ | 164 | { } /* terminate list */ |
162 | }; | 165 | }; |