- Fix braino in last commit.

This commit is contained in:
Nate Williams 1997-10-06 04:02:42 +00:00
parent ed4d1cf9cc
commit 9ebc881f81

View File

@ -806,18 +806,10 @@ pcic_probe(void)
* that claims to reduce power consumption by 30%, so
* enable it and hope for the best.
*/
if (sp->controller == PCIC_PD672X) {
sp->setb(sp, PCIC_MISC1, PCIC_SPKR_EN);
sp->setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
}
if (sp->controller == PCIC_PD672X) {
sp->setb(sp, PCIC_MISC1, PCIC_SPKR_EN);
sp->setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
}
if (sp->controller == PCIC_PD672X) {
setb(sp, PCIC_MISC1, PCIC_SPKR_EN);
setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
}
}
/*
* Check for a card in this slot.
*/
@ -1191,7 +1183,7 @@ pcic_resume(struct slot *slotp)
if (pcic_irq > 0)
sp->putb(sp, PCIC_STAT_INT, (pcic_irq << 4) | 0xF);
if (sp->controller == PCIC_PD672X) {
sp->setb(sp, PCIC_MISC1, PCIC_SPKR_EN);
sp->setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
setb(sp, PCIC_MISC1, PCIC_SPKR_EN);
setb(sp, PCIC_MISC2, PCIC_LPDM_EN);
}
}