summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2001-02-22 03:04:10 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2001-02-22 03:04:10 +0000
commitbbc664ffacc4c5ee6d4431d428ab1c46849cb4c3 (patch)
tree0489d6115332312fc3c787eb8453fcec9bd6cb00 /sys/dev/pci/pciide.c
parent4571069bf87883c40b9758917787a2671a205bd8 (diff)
Use real VIA product names for IDE controllers rather then contrived ones,
ok deraadt@
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 8792a68bec3..b522898644b 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.44 2001/02/06 07:57:08 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.45 2001/02/22 03:04:09 chris Exp $ */
/* $NetBSD: pciide.c,v 1.48 1999/11/28 20:05:18 bouyer Exp $ */
/*
@@ -348,11 +348,11 @@ const struct pciide_product_desc pciide_cmd_products[] = {
};
const struct pciide_product_desc pciide_via_products[] = {
- { PCI_PRODUCT_VIATECH_VT82C586_IDE, /* VIA VT82C586 (Apollo VP) IDE */
+ { PCI_PRODUCT_VIATECH_VT82C416, /* VIA VT82C416 IDE */
0,
apollo_chip_map
},
- { PCI_PRODUCT_VIATECH_VT82C586A_IDE, /* VIA VT82C586A IDE */
+ { PCI_PRODUCT_VIATECH_VT82C571, /* VIA VT82C571 IDE */
0,
apollo_chip_map
}
@@ -1988,7 +1988,7 @@ apollo_chip_map(sc, pa)
pciide_mapreg_dma(sc, pa);
if (sc->sc_dma_ok) {
sc->sc_wdcdev.cap |= WDC_CAPABILITY_DMA;
- if (sc->sc_pp->ide_product == PCI_PRODUCT_VIATECH_VT82C586A_IDE
+ if (sc->sc_pp->ide_product == PCI_PRODUCT_VIATECH_VT82C571
&& rev >= 6)
sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA;
}