summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-10-17 11:24:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-10-17 11:24:26 +0000
commit5c3e40397a84e1f4ab8b563f67889c7910c28547 (patch)
treee29804e420785de0798686140ec70729eb8e83ef /sys/dev/pci/pciide.c
parent34c18f937fdf04e866cdf5b31cc7b24a08792bd5 (diff)
Recognise VT8251. From Blake Willis <blake at 2112.net>.
ok grange@
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 656fe91c614..0b0f6b4b4b3 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.209 2005/10/17 06:43:48 grange Exp $ */
+/* $OpenBSD: pciide.c,v 1.210 2005/10/17 11:24:25 jsg Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -511,6 +511,10 @@ const struct pciide_product_desc pciide_via_products[] = {
{ PCI_PRODUCT_VIATECH_VT6420_SATA, /* VIA VT6420 SATA */
IDE_PCI_CLASS_OVERRIDE,
sata_chip_map
+ },
+ { PCI_PRODUCT_VIATECH_VT8251_SATA, /* VIA VT8251 SATA */
+ IDE_PCI_CLASS_OVERRIDE,
+ sata_chip_map
}
};
@@ -2691,6 +2695,10 @@ apollo_chip_map(struct pciide_softc *sc, struct pci_attach_args *pa)
printf(": ATA133");
sc->sc_wdcdev.UDMA_cap = 6;
break;
+ case PCI_PRODUCT_VIATECH_VT8251_SATA:
+ printf(": ATA133");
+ sc->sc_wdcdev.UDMA_cap = 6;
+ break;
default:
printf(": DMA");
sc->sc_wdcdev.UDMA_cap = 0;