aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorJason Gaston <jason.d.gaston@intel.com>2006-01-17 12:28:48 -0800
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 19:31:54 -0500
commit012b265f76ce5d497b182569dc77f2c68662bead (patch)
treee361d2f2208983c66c9110fce91bb7213f62976a /drivers/pci/quirks.c
parent1bc4ccfff8675adc3d96f91245eb7e2dc0043ca9 (diff)
downloadkernel_samsung_smdk4412-012b265f76ce5d497b182569dc77f2c68662bead.zip
kernel_samsung_smdk4412-012b265f76ce5d497b182569dc77f2c68662bead.tar.gz
kernel_samsung_smdk4412-012b265f76ce5d497b182569dc77f2c68662bead.tar.bz2
[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>
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r--drivers/pci/quirks.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 605f0df..dda6099 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)
case 0x27c4:
ich = 7;
break;
+ case 0x2828: /* ICH8M */
+ ich = 8;
+ break;
default:
/* we do not handle this PCI device */
return;
@@ -1161,7 +1164,7 @@ static void __devinit quirk_intel_ide_combined(struct pci_dev *pdev)
else
return; /* not in combined mode */
} else {
- WARN_ON((ich != 6) && (ich != 7));
+ WARN_ON((ich != 6) && (ich != 7) && (ich != 8));
tmp &= 0x3; /* interesting bits 1:0 */
if (tmp & (1 << 0))
comb = (1 << 2); /* PATA port 0, SATA port 1 */