Module Name: src Committed By: macallan Date: Wed Aug 3 05:27:08 UTC 2011
Modified Files: src/sys/dev/pci: machfb.c Log Message: don't try to a 'better' vertical frequency, it's almost certainly wrong with flat panels To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/dev/pci/machfb.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/pci/machfb.c diff -u src/sys/dev/pci/machfb.c:1.69 src/sys/dev/pci/machfb.c:1.70 --- src/sys/dev/pci/machfb.c:1.69 Mon Aug 1 12:28:53 2011 +++ src/sys/dev/pci/machfb.c Wed Aug 3 05:27:08 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: machfb.c,v 1.69 2011/08/01 12:28:53 mbalmer Exp $ */ +/* $NetBSD: machfb.c,v 1.70 2011/08/03 05:27:08 macallan Exp $ */ /* * Copyright (c) 2002 Bang Jun-Young @@ -34,7 +34,7 @@ #include <sys/cdefs.h> __KERNEL_RCSID(0, - "$NetBSD: machfb.c,v 1.69 2011/08/01 12:28:53 mbalmer Exp $"); + "$NetBSD: machfb.c,v 1.70 2011/08/03 05:27:08 macallan Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -607,14 +607,6 @@ #ifdef MACHFB_DEBUG edid_print(&ei); #endif - if (ei.edid_have_range) { - - /* ei has dotclock in MHz, struct videomode in kHz */ - mode = pick_mode_by_dotclock(width, height, - ei.edid_range.er_max_clock * 1000); - if (mode != NULL) - printf("mode: %s\n", mode->name); - } } is_gx = 0;