Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Fix egregious bug where we meant to use bit 5 (1<...



details:   https://anonhg.NetBSD.org/src/rev/afd83fa9ee20
branches:  trunk
changeset: 543767:afd83fa9ee20
user:      mjacob <mjacob%NetBSD.org@localhost>
date:      Mon Mar 03 20:54:56 2003 +0000

description:
Fix egregious bug where we meant to use bit 5 (1<<5) instead of the
value of 5.

diffstat:

 sys/dev/ic/ispmbox.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 12e4d7eccb06 -r afd83fa9ee20 sys/dev/ic/ispmbox.h
--- a/sys/dev/ic/ispmbox.h      Mon Mar 03 20:54:28 2003 +0000
+++ b/sys/dev/ic/ispmbox.h      Mon Mar 03 20:54:56 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ispmbox.h,v 1.44 2002/10/18 23:33:39 mjacob Exp $ */
+/* $NetBSD: ispmbox.h,v 1.45 2003/03/03 20:54:56 mjacob Exp $ */
 /*
  * This driver, which is contained in NetBSD in the files:
  *
@@ -685,7 +685,7 @@
 #define        ICBXOPT_RIO_32BIT       2
 #define        ICBXOPT_RIO_16BIT_IOCB  3
 #define        ICBXOPT_RIO_32BIT_IOCB  4
-#define        ICBXOPT_ZIO             5
+#define        ICBXOPT_ZIO             (1 << 5)
 
 #define        ICBZOPT_ENA_RDXFR_RDY   0x01
 #define        ICBZOPT_ENA_OOF         (1 << 6) /* out of order frame handling */



Home | Main Index | Thread Index | Old Index