Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci cosmetics, no functional change
details: https://anonhg.NetBSD.org/src/rev/16d0006eb4a5
branches: trunk
changeset: 319918:16d0006eb4a5
user: macallan <macallan%NetBSD.org@localhost>
date: Fri Jun 15 21:22:35 2018 +0000
description:
cosmetics, no functional change
diffstat:
sys/dev/pci/radeonfb.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diffs (40 lines):
diff -r 09e4d75afefb -r 16d0006eb4a5 sys/dev/pci/radeonfb.c
--- a/sys/dev/pci/radeonfb.c Fri Jun 15 20:16:35 2018 +0000
+++ b/sys/dev/pci/radeonfb.c Fri Jun 15 21:22:35 2018 +0000
@@ -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 @@
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)) {
Home |
Main Index |
Thread Index |
Old Index