From 6705c3f34f2974fa929543e7b54f584ba60053da Mon Sep 17 00:00:00 2001 From: peter Date: Sun, 2 May 1999 21:45:31 +0000 Subject: Operator precedence (nit: in #if 0 code) bug. PR: 11413 Submitted by: Christopher Peterson --- sys/pccard/pcic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/pccard/pcic.c') 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); -- cgit v1.1