summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2002-06-16 21:11:41 +0000
committeraaron <aaron@openbsd.org>2002-06-16 21:11:41 +0000
commitd95d4e768f7a2d27c6c8af53343cd54d675572f8 (patch)
treedd2673bd4ec7183a95dae398d4997985a6b06a13
parentkeep nat.conf(5) softlink, from ckuethe@ualberta.ca (diff)
downloadwireguard-openbsd-d95d4e768f7a2d27c6c8af53343cd54d675572f8.tar.xz
wireguard-openbsd-d95d4e768f7a2d27c6c8af53343cd54d675572f8.zip
Increase XL_TIMEOUT from 1000 -> 2000. No longer get those pesky "command
never completed!" messages with my 3c905b. (This is also the value that the Linux driver uses.)
-rw-r--r--sys/dev/ic/xlreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/xlreg.h b/sys/dev/ic/xlreg.h
index 32c5a95d398..0ff0ea8120d 100644
--- a/sys/dev/ic/xlreg.h
+++ b/sys/dev/ic/xlreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: xlreg.h,v 1.13 2002/06/15 05:14:41 aaron Exp $ */
+/* $OpenBSD: xlreg.h,v 1.14 2002/06/16 21:11:41 aaron Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -637,7 +637,7 @@ struct xl_stats {
#define XL_SEL_WIN(x) \
CSR_WRITE_2(sc, XL_COMMAND, XL_CMD_WINSEL | x)
-#define XL_TIMEOUT 1000
+#define XL_TIMEOUT 2000
/*
* General constants that are fun to know.