Module Name: src Committed By: macallan Date: Thu Jul 25 15:09:27 UTC 2013
Modified Files: src/sys/arch/x86/x86: genfb_machdep.c Log Message: fix width vs height typo from imre at vdsz.com To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/genfb_machdep.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/arch/x86/x86/genfb_machdep.c diff -u src/sys/arch/x86/x86/genfb_machdep.c:1.10 src/sys/arch/x86/x86/genfb_machdep.c:1.11 --- src/sys/arch/x86/x86/genfb_machdep.c:1.10 Fri Jul 1 18:21:31 2011 +++ src/sys/arch/x86/x86/genfb_machdep.c Thu Jul 25 15:09:27 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: genfb_machdep.c,v 1.10 2011/07/01 18:21:31 dyoung Exp $ */ +/* $NetBSD: genfb_machdep.c,v 1.11 2013/07/25 15:09:27 macallan Exp $ */ /*- * Copyright (c) 2009 Jared D. McNeill <jmcne...@invisible.ca> @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.10 2011/07/01 18:21:31 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: genfb_machdep.c,v 1.11 2013/07/25 15:09:27 macallan Exp $"); #include "opt_mtrr.h" @@ -159,7 +159,7 @@ x86_genfb_cnattach(void) return 0; err = _x86_memio_map(t, (bus_addr_t)fbinfo->physaddr, - fbinfo->width * fbinfo->stride, + fbinfo->height * fbinfo->stride, BUS_SPACE_MAP_LINEAR | BUS_SPACE_MAP_PREFETCHABLE, &h); if (err) { aprint_error("x86_genfb_cnattach: couldn't map framebuffer\n");