summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-08-19 17:59:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-08-19 17:59:01 +0000
commitf05668ae74bd500cc5b57fcf62a4e1d6240bfeef (patch)
tree83d9838970730fb154c40d4b0f10e54e607e3308 /sys/dev/pci
parent55bcf52aaad812ff04d572169340a0c79e0e1b7e (diff)
Support for Intel 82801H/ICH8 SATA parts, untested but should
work like the previous generation for our purposes going by the datasheet.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pciide.c39
1 files changed, 38 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 57bfa33fc95..cde797620f7 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.251 2006/08/19 17:38:56 jsg Exp $ */
+/* $OpenBSD: pciide.c,v 1.252 2006/08/19 17:59:00 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -464,6 +464,34 @@ const struct pciide_product_desc pciide_intel_products[] = {
{ PCI_PRODUCT_INTEL_82801GHM_RAID, /* Intel 82801GHM (ICH7-M DH) SATA */
IDE_PCI_CLASS_OVERRIDE,
piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801H_SATA_1_6P, /* Intel 82801H (ICH8) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801H_AHCI, /* Intel 82801H (ICH8) AHCI */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801H_RAID, /* Intel 82801H (ICH8) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801H_SATA_1_4P, /* Intel 82801H (ICH8) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801H_SATA_2, /* Intel 82801H (ICH8) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801HBM_SATA_1, /* Intel 82801HBM (ICH8M) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
+ },
+ { PCI_PRODUCT_INTEL_82801HBM_SATA_2, /* Intel 82801HBM (ICH8M) SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ piixsata_chip_map
}
};
@@ -2307,6 +2335,15 @@ piixsata_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
case PCI_PRODUCT_INTEL_82801GHM_RAID:
ich = 7;
break;
+ case PCI_PRODUCT_INTEL_82801H_SATA_1_6P:
+ case PCI_PRODUCT_INTEL_82801H_AHCI:
+ case PCI_PRODUCT_INTEL_82801H_RAID:
+ case PCI_PRODUCT_INTEL_82801H_SATA_1_4P:
+ case PCI_PRODUCT_INTEL_82801H_SATA_2:
+ case PCI_PRODUCT_INTEL_82801HBM_SATA_1:
+ case PCI_PRODUCT_INTEL_82801HBM_SATA_2:
+ ich = 8;
+ break;
}
/*