summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/pciide.c')
-rw-r--r--sys/dev/pci/pciide.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide.c b/sys/dev/pci/pciide.c
index 6aef5da366f..1e1e9ae5a82 100644
--- a/sys/dev/pci/pciide.c
+++ b/sys/dev/pci/pciide.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide.c,v 1.162 2004/02/18 09:49:04 grange Exp $ */
+/* $OpenBSD: pciide.c,v 1.163 2004/03/12 19:10:07 grange Exp $ */
/* $NetBSD: pciide.c,v 1.127 2001/08/03 01:31:08 tsutsui Exp $ */
/*
@@ -2282,9 +2282,11 @@ amd756_chip_map(sc, pa)
sc->sc_wdcdev.PIO_cap = 4;
sc->sc_wdcdev.DMA_cap = 2;
switch (sc->sc_pp->ide_product) {
+ case PCI_PRODUCT_AMD_8111_IDE:
+ sc->sc_wdcdev.UDMA_cap = 6;
+ break;
case PCI_PRODUCT_AMD_766_IDE:
case PCI_PRODUCT_AMD_PBC768_IDE:
- case PCI_PRODUCT_AMD_8111_IDE:
sc->sc_wdcdev.UDMA_cap = 5;
break;
default: