From 5c3e40397a84e1f4ab8b563f67889c7910c28547 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 17 Oct 2005 11:24:26 +0000 Subject: Recognise VT8251. From Blake Willis . ok grange@ --- sys/dev/pci/pciide.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci/pciide.c') 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; -- cgit v1.2.3