summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2002-02-10 04:29:33 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2002-02-10 04:29:33 +0000
commitef1bd6acc63853c41b7ba1aaae8e430d29f20f7e (patch)
tree565e4038cff03accd2a3df1befdc7997d4575a6d
parenta2f1a0beed9231df3de61794984c51bb36c4ec0a (diff)
Match the VT8366_ISA (chip VT8233) south bridge as ATA100
-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 0d85df60e52..215605f3ab0 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.76 2001/12/11 22:04:12 chris Exp $ */
+/* $OpenBSD: pciide.c,v 1.77 2002/02/10 04:29:32 chris Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -2144,6 +2144,10 @@ apollo_chip_map(sc, pa)
sc->sc_wdcdev.UDMA_cap = 4;
}
break;
+ case PCI_PRODUCT_VIATECH_VT8366_ISA:
+ printf(": ATA100");
+ sc->sc_wdcdev.UDMA_cap = 5;
+ break;
default:
printf(": DMA");
sc->sc_wdcdev.UDMA_cap = 0;
@@ -2515,6 +2519,10 @@ cmd0643_9_chip_map(sc, pa)
sc->sc_wdcdev.cap |= WDC_CAPABILITY_DMA | WDC_CAPABILITY_IRQACK;
switch (sc->sc_pp->ide_product) {
case PCI_PRODUCT_CMDTECH_649:
+ sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA;
+ sc->sc_wdcdev.UDMA_cap = 5;
+ sc->sc_wdcdev.irqack = cmd646_9_irqack;
+ break;
case PCI_PRODUCT_CMDTECH_648:
sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA;
sc->sc_wdcdev.UDMA_cap = 4;