From 8f5eb45899ba0975a1784720ad98ad03c216ea4c Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 10 Aug 1998 20:47:22 +0000 Subject: Fixed null setting of multiple wakeup prevention variable. Fixed printf format errors. --- sys/dev/rc/rc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c index 31d738cb8d9bb..24e73433d36f1 100644 --- a/sys/dev/rc/rc.c +++ b/sys/dev/rc/rc.c @@ -205,11 +205,11 @@ rcprobe(dvp) if (dvp->id_unit > NRC) return 0; if (!RC_VALIDADDR(nec)) { - printf("rc%d: illegal base address %x\n", nec); + printf("rc%d: illegal base address %x\n", dvp->id_unit, nec); return 0; } if (!RC_VALIDIRQ(irq)) { - printf("rc%d: illegal IRQ value %d\n", irq); + printf("rc%d: illegal IRQ value %d\n", dvp->id_unit, irq); return 0; } rcout(CD180_PPRL, 0x22); /* Random values to Prescale reg. */ @@ -273,7 +273,7 @@ rcattach(dvp) rcb->rcb_probed = RC_ATTACHED; if (!rc_wakeup_started) { rc_wakeup((void *)NULL); - rc_wakeup_started = 0; + rc_wakeup_started = 1; } return 1; } -- cgit v1.3