patch-2.4.0-test11 linux/drivers/char/rtc.c
Next file: linux/drivers/char/sx.c
Previous file: linux/drivers/char/rio/rio_linux.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Tue Nov 7 11:08:09 2000
- Orig file:
v2.4.0-test10/linux/drivers/char/rtc.c
- Orig date:
Tue Oct 31 12:42:26 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/char/rtc.c linux/drivers/char/rtc.c
@@ -634,7 +634,7 @@
}
}
}
- printk("rtc_init: no PC rtc found\n");
+ printk(KERN_ERR "rtc_init: no PC rtc found\n");
return -EIO;
found:
@@ -650,7 +650,7 @@
* Standard way for sparc to print irq's is to use
* __irq_itoa(). I think for EBus it's ok to use %d.
*/
- printk("rtc: cannot register IRQ %d\n", rtc_irq);
+ printk(KERN_ERR "rtc: cannot register IRQ %d\n", rtc_irq);
return -EIO;
}
#else
@@ -705,7 +705,7 @@
guess = "Digital DECstation";
}
if (guess)
- printk("rtc: %s epoch (%lu) detected\n", guess, epoch);
+ printk(KERN_INFO "rtc: %s epoch (%lu) detected\n", guess, epoch);
#endif
#if RTC_IRQ
init_timer(&rtc_irq_timer);
@@ -772,7 +772,7 @@
spin_unlock_irq(&rtc_lock);
- printk(KERN_INFO "rtc: lost some interrupts at %ldHz.\n", freq);
+ printk(KERN_WARNING "rtc: lost some interrupts at %ldHz.\n", freq);
/* Now we have new data */
wake_up_interruptible(&rtc_wait);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)