summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrange <grange@openbsd.org>2003-07-05 08:42:45 +0000
committergrange <grange@openbsd.org>2003-07-05 08:42:45 +0000
commitbb1ca977c276fe55b5ae2d3d582ecf6524847a29 (patch)
tree824655c771c260a7c758fd1be92989cba117a969
parentbackout 1.29; problem reported by Rukh w/ userland ppp. (diff)
downloadwireguard-openbsd-bb1ca977c276fe55b5ae2d3d582ecf6524847a29.tar.xz
wireguard-openbsd-bb1ca977c276fe55b5ae2d3d582ecf6524847a29.zip
Add missing timing value for CMD649 UDMA 5 mode.
Found by G Onufer <gonufer@yahoo.com>. ok gluk@
-rw-r--r--sys/dev/pci/pciide_cmd_reg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pciide_cmd_reg.h b/sys/dev/pci/pciide_cmd_reg.h
index 7891580fd94..a5cb3ef8043 100644
--- a/sys/dev/pci/pciide_cmd_reg.h
+++ b/sys/dev/pci/pciide_cmd_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_cmd_reg.h,v 1.6 2003/02/21 20:10:33 grange Exp $ */
+/* $OpenBSD: pciide_cmd_reg.h,v 1.7 2003/07/05 08:42:45 grange Exp $ */
/* $NetBSD: pciide_cmd_reg.h,v 1.9 2000/08/02 20:23:46 bouyer Exp $ */
/*
@@ -97,7 +97,7 @@
#define CMD_UDMATIM_UDMA33(drive) (0x04 << (drive))
#define CMD_UDMATIM_TIM_MASK 0x3
#define CMD_UDMATIM_TIM_OFF(drive) (4 + ((drive) * 2))
-static int8_t cmd0646_9_tim_udma[] = {0x03, 0x02, 0x01, 0x02, 0x01};
+static int8_t cmd0646_9_tim_udma[] = {0x03, 0x02, 0x01, 0x02, 0x01, 0x00};
/*
* timings values for the 0643/6/8/9