patch-2.4.0-test9 linux/drivers/char/i810-tco.c
Next file: linux/drivers/char/i810_rng.c
Previous file: linux/drivers/char/hp600_keyb.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Sun Oct 1 19:45:29 2000
- Orig file:
v2.4.0-test8/linux/drivers/char/i810-tco.c
- Orig date:
Fri Aug 11 17:56:40 2000
diff -u --recursive --new-file v2.4.0-test8/linux/drivers/char/i810-tco.c linux/drivers/char/i810-tco.c
@@ -301,10 +301,9 @@
tco_timer_settimer ((unsigned char) i810_margin);
tco_timer_reload ();
- /* FIXME: no floating point math */
printk (KERN_INFO
"i810 TCO timer: V0.02, timer margin: %d sec (0x%04x)\n",
- (int) (i810_margin * 0.6), TCOBASE);
+ (int) (i810_margin * 6 / 10), TCOBASE);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)