Operator precedence (nit: in #if 0 code) bug.

PR:		11413
Submitted by:	Christopher Peterson <cpeterso@cs.washington.edu>
This commit is contained in:
Peter Wemm 1999-05-02 21:45:31 +00:00
parent ccb64c7419
commit 6a2648e613
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46341

View File

@ -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);