Module Name: src Committed By: macallan Date: Fri Jun 15 21:22:36 UTC 2018
Modified Files: src/sys/dev/pci: radeonfb.c Log Message: cosmetics, no functional change To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97 src/sys/dev/pci/radeonfb.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/radeonfb.c diff -u src/sys/dev/pci/radeonfb.c:1.96 src/sys/dev/pci/radeonfb.c:1.97 --- src/sys/dev/pci/radeonfb.c:1.96 Thu Jun 14 17:41:27 2018 +++ src/sys/dev/pci/radeonfb.c Fri Jun 15 21:22:35 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: radeonfb.c,v 1.96 2018/06/14 17:41:27 macallan Exp $ */ +/* $NetBSD: radeonfb.c,v 1.97 2018/06/15 21:22:35 macallan Exp $ */ /*- * Copyright (c) 2006 Itronix Inc. @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.96 2018/06/14 17:41:27 macallan Exp $"); +__KERNEL_RCSID(0, "$NetBSD: radeonfb.c,v 1.97 2018/06/15 21:22:35 macallan Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -1642,14 +1642,19 @@ radeonfb_calc_dividers(struct radeonfb_s DPRINTF(("dot clock: %u\n", dotclock)); for (i = 0; (div = radeonfb_dividers[i].divider) != 0; i++) { - if ((flags & NO_ODD_FBDIV) && ((div & 1) != 0)) continue; + + if ((flags & NO_ODD_FBDIV) && ((div & 1) != 0)) + continue; + /* * XXX * the rv350 in my last generation 14" iBook G4 produces * garbage with dividers > 4. No idea if this is a hardware * limitation or an error in the divider table. */ - if ((sc->sc_family == RADEON_RV350) && (div > 4)) continue; + if ((sc->sc_family == RADEON_RV350) && (div > 4)) + continue; + outfreq = div * dotclock; if ((outfreq >= sc->sc_minpll) && (outfreq <= sc->sc_maxpll)) {