summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1997-02-21 05:46:57 +0000
committernate <nate@FreeBSD.org>1997-02-21 05:46:57 +0000
commit00632c9a58446ddb7342d7603d6a089bddd10dda (patch)
tree9ffb17a59cf09a5a3b41a5d37a9c5ccdbaefae66 /sys/pccard/pcic.c
parentedb50f92b95b23fd36c1e9faee771fb4e984e5c5 (diff)
downloadFreeBSD-src-00632c9a58446ddb7342d7603d6a089bddd10dda.zip
FreeBSD-src-00632c9a58446ddb7342d7603d6a089bddd10dda.tar.gz
Argh, this time get the parentheses right. This hasn't been a good day for me.
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index b3615b5..74fcdcc 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -530,7 +530,7 @@ pcic_probe(void)
struct slot *slotp;
struct pcic_slot *sp;
unsigned char c;
- static int is_vlsi = 0;
+ static int maybe_vlsi = 0;
/* Determine the list of free interrupts */
free_irqs = build_freelist(PCIC_INT_MASK_ALLOWED);
@@ -575,7 +575,7 @@ pcic_probe(void)
* ones would need to be probed at the new offset we set after
* we assume it's broken.
*/
- if ((slot == 1) && is_vlsi && (getb(sp, PCIC_ID_REV != 0x84))) {
+ if (slot == 1 && maybe_vlsi && getb(sp, PCIC_ID_REV) != 0x84) {
sp->index += 4;
sp->data += 4;
sp->offset = PCIC_SLOT_SIZE << 1;
@@ -622,7 +622,7 @@ pcic_probe(void)
*/
case 0x84:
sp->controller = PCIC_VLSI;
- is_vlsi = 1;
+ maybe_vlsi = 1;
break;
case 0x88:
case 0x89:
OpenPOWER on IntegriCloud