mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Operator precedence (nit: in #if 0 code) bug.
PR: 11413 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu>
This commit is contained in:
parent
ccb64c7419
commit
6a2648e613
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46341
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user