In the disable_slot() routine, the variable "i" was

being used without ever being initialized.  From examining
the rest of the routine, it looks like this is a typo,
and it really should have been "1" instead of "i".

Submitted by:	mpp
This commit is contained in:
Nate Williams 1997-02-11 17:22:46 +00:00
parent a042d32c0b
commit 8c1801dce9
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ disable_slot(struct slot *sp)
INTRUNMASK(*devp->drv->imask,(1<<sp->irq));
/* Remove from the PCIC controller imask */
if (sp->ctrl->imask)
INTRUNMASK(*(sp->ctrl->imask), (i<<sp->irq));
INTRUNMASK(*(sp->ctrl->imask), (1<<sp->irq));
sp->irq = 0;
}
splx(s);