summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-02 21:45:31 +0000
committerpeter <peter@FreeBSD.org>1999-05-02 21:45:31 +0000
commit6705c3f34f2974fa929543e7b54f584ba60053da (patch)
tree9868a3785c2f5ca7f0ef7f2214cc08a5ba3cbd00 /sys/pccard/pcic.c
parent0dca1e5c7f82dc694d83cc7a3feecb7f6e9a22bd (diff)
downloadFreeBSD-src-6705c3f34f2974fa929543e7b54f584ba60053da.zip
FreeBSD-src-6705c3f34f2974fa929543e7b54f584ba60053da.tar.gz
Operator precedence (nit: in #if 0 code) bug.
PR: 11413 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 2fcf7c9..be08130 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -376,7 +376,7 @@ pcic_memory(struct slot *slt, int win)
outb(PCIC98_REG_WINSEL, PCIC98_MAPWIN);
#if 0
- if (mp->flags & MDF_16BITS == 1) { /* 16bit */
+ if ((mp->flags & MDF_16BITS) == 1) { /* 16bit */
outb(PCIC98_REG2, inb(PCIC98_REG2) & (~PCIC98_8BIT));
}else{ /* 8bit */
outb(PCIC98_REG2, inb(PCIC98_REG2) | PCIC98_8BIT);
OpenPOWER on IntegriCloud