summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-05-07 03:00:15 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-05-07 03:00:15 +0000
commit73309b31f5ea86029002fe08c9120fa689cf1634 (patch)
tree3eef52911f319a882984b3261452ee21e9bf0789 /sys/dev/ic
parent9c357f06aef1a3d3b4b13c5405cf4481fc528852 (diff)
Default to Ultra DMA Mode 6 not 5 when we know we have a native
SATA drive. ok grange@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/wdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index 8ed526472e9..7ed6818c729 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.90 2006/05/03 02:18:47 jsg Exp $ */
+/* $OpenBSD: wdc.c,v 1.91 2006/05/07 03:00:14 jsg Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -1306,7 +1306,7 @@ wdc_probe_caps(drvp, params)
/* Skip ATA modes detection for native SATA drives */
drvp->PIO_mode = drvp->PIO_cap = 4;
drvp->DMA_mode = drvp->DMA_cap = 2;
- drvp->UDMA_mode = drvp->UDMA_cap = 5;
+ drvp->UDMA_mode = drvp->UDMA_cap = 6;
drvp->drive_flags |= DRIVE_SATA | DRIVE_MODE | DRIVE_UDMA;
drvp->ata_vers = 4;
return;