summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2001-04-17 22:43:51 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2001-04-17 22:43:51 +0000
commitf209e65ed696f072239337fc770722f4379dc95c (patch)
tree06a0128169308e1b014d22a6218a34e04e9a059e /sys/dev/pci/pciide.c
parent8146b96054c848958fa477682067015fc93ae3dd (diff)
Enable UDMA for rev 0xd0 SiS again (undone in last update)
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index ab7f87f3f5d..93819ead300 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.50 2001/04/04 18:25:07 csapuntz Exp $ */
+/* $OpenBSD: pciide.c,v 1.51 2001/04/17 22:43:50 chris Exp $ */
/* $NetBSD: pciide.c,v 1.110 2001/03/20 17:56:46 bouyer Exp $ */
/*
@@ -2707,7 +2707,7 @@ sis_chip_map(sc, pa)
if (sc->sc_dma_ok) {
sc->sc_wdcdev.cap |= WDC_CAPABILITY_DMA | WDC_CAPABILITY_IRQACK;
sc->sc_wdcdev.irqack = pciide_irqack;
- if (rev > 0xd0)
+ if (rev >= 0xd0)
sc->sc_wdcdev.cap |= WDC_CAPABILITY_UDMA;
}