* patch to correct time units in printk of erase time (cfi_probe.c)
@ 2002-05-10 20:06 Galen Seitz
2002-05-11 22:13 ` David Woodhouse
0 siblings, 1 reply; 2+ messages in thread
From: Galen Seitz @ 2002-05-10 20:06 UTC (permalink / raw)
To: linux-mtd; +Cc: dwmw2
This patch changes the time units in the printk statements which display
the erase timeouts from microseconds to milliseconds. This is in
drivers/mtd/chips/.
galen
--- cfi_probe.c.orig Thu Oct 4 15:14:59 2001
+++ cfi_probe.c Fri May 10 12:39:59 2002
@@ -250,11 +250,11 @@
else
printk("Full buffer write not supported\n");
- printk("Typical block erase timeout: %d µs\n", 1<<cfip->BlockEraseTimeoutTyp);
- printk("Maximum block erase timeout: %d µs\n", (1<<cfip->BlockEraseTimeoutMax) * (1<<cfip->BlockEraseTimeoutTyp));
+ printk("Typical block erase timeout: %d ms\n", 1<<cfip->BlockEraseTimeoutTyp);
+ printk("Maximum block erase timeout: %d ms\n", (1<<cfip->BlockEraseTimeoutMax) * (1<<cfip->BlockEraseTimeoutTyp));
if (cfip->ChipEraseTimeoutTyp || cfip->ChipEraseTimeoutMax) {
- printk("Typical chip erase timeout: %d µs\n", 1<<cfip->ChipEraseTimeoutTyp);
- printk("Maximum chip erase timeout: %d µs\n", (1<<cfip->ChipEraseTimeoutMax) * (1<<cfip->ChipEraseTimeoutTyp));
+ printk("Typical chip erase timeout: %d ms\n", 1<<cfip->ChipEraseTimeoutTyp);
+ printk("Maximum chip erase timeout: %d ms\n", (1<<cfip->ChipEraseTimeoutMax) * (1<<cfip->ChipEraseTimeoutTyp));
}
else
printk("Chip erase not supported\n");
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: patch to correct time units in printk of erase time (cfi_probe.c)
2002-05-10 20:06 patch to correct time units in printk of erase time (cfi_probe.c) Galen Seitz
@ 2002-05-11 22:13 ` David Woodhouse
0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2002-05-11 22:13 UTC (permalink / raw)
To: Galen Seitz; +Cc: linux-mtd
galens@seitzassoc.com said:
> This patch changes the time units in the printk statements which
> display the erase timeouts from microseconds to milliseconds.
Applied. Thanks.
--
dwmw2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-11 22:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10 20:06 patch to correct time units in printk of erase time (cfi_probe.c) Galen Seitz
2002-05-11 22:13 ` David Woodhouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox