Module Name: src Committed By: dholland Date: Fri Mar 21 22:00:00 UTC 2014
Modified Files: src/sys/dev/videomode: vesagtf.c Log Message: spelling in comments To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/videomode/vesagtf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/videomode/vesagtf.c diff -u src/sys/dev/videomode/vesagtf.c:1.2 src/sys/dev/videomode/vesagtf.c:1.3 --- src/sys/dev/videomode/vesagtf.c:1.2 Sun Sep 15 15:56:07 2013 +++ src/sys/dev/videomode/vesagtf.c Fri Mar 21 22:00:00 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: vesagtf.c,v 1.2 2013/09/15 15:56:07 martin Exp $ */ +/* $NetBSD: vesagtf.c,v 1.3 2014/03/21 22:00:00 dholland Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -38,7 +38,7 @@ * Note that I have heavily modified the program for use in the EDID * kernel code for NetBSD, including removing the use of floating * point operations and making significant adjustments to minimize - * error propogation while operating with integer only math. + * error propagation while operating with integer only math. * * This has required the use of 64-bit integers in a few places, but * the upshot is that for a calculation of 1920x1200x85 (as an @@ -153,7 +153,7 @@ #ifdef _KERNEL #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vesagtf.c,v 1.2 2013/09/15 15:56:07 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vesagtf.c,v 1.3 2014/03/21 22:00:00 dholland Exp $"); #include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> @@ -343,7 +343,7 @@ vesagtf_mode_params(unsigned h_pixels, u * * Finally we multiply by another 1000, to get value in picosec. * Why picosec? To minimize rounding errors. Gotta love integer - * math and error propogation. + * math and error propagation. */ h_period_est = DIVIDE(((DIVIDE(2000000000000ULL, v_field_rqd)) - @@ -402,7 +402,7 @@ vesagtf_mode_params(unsigned h_pixels, u * [V FIELD RATE EST] = 1000000000 / [H PERIOD EST] / [TOTAL V LINES] * * This is all scaled to get the result in uHz. Again, we're trying to - * minimize error propogation. + * minimize error propagation. */ v_field_est = DIVIDE(DIVIDE(1000000000000000ULL, h_period_est), total_v_lines); @@ -495,7 +495,7 @@ vesagtf_mode_params(unsigned h_pixels, u * * The ending result is that our ideal_duty_cycle is 256000x larger * than the duty cycle used by VESA. But again, this reduces error - * propogation. + * propagation. */ ideal_duty_cycle =