summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
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