Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci minor adaptatioons to new radeonfbreg.h



details:   https://anonhg.NetBSD.org/src/rev/602e5b80f46f
branches:  trunk
changeset: 955098:602e5b80f46f
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Sep 18 20:44:20 2020 +0000

description:
minor adaptatioons to new radeonfbreg.h

diffstat:

 sys/dev/pci/radeonfb_bios.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r c9d14929fffd -r 602e5b80f46f sys/dev/pci/radeonfb_bios.c
--- a/sys/dev/pci/radeonfb_bios.c       Fri Sep 18 20:43:37 2020 +0000
+++ b/sys/dev/pci/radeonfb_bios.c       Fri Sep 18 20:44:20 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: radeonfb_bios.c,v 1.5 2018/02/08 09:05:19 dholland Exp $ */
+/* $NetBSD: radeonfb_bios.c,v 1.6 2020/09/18 20:44:20 macallan Exp $ */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeonfb_bios.c,v 1.5 2018/02/08 09:05:19 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeonfb_bios.c,v 1.6 2020/09/18 20:44:20 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -305,7 +305,7 @@
        DPRINTF(("WAIT_MC_BUSY_MASK: %d ", count));
        while (count--) {
                if (!(radeonfb_getpll(sc, RADEON_CLK_PWRMGT_CNTL) &
-                       RADEON_MC_BUSY_MASK))
+                       RADEON_MC_BUSY))
                        break;
        }
        DPRINTF(("%d\n", count));
@@ -330,7 +330,7 @@
        DPRINTF(("WAIT_DLL_READY_MASK: %d ", count));
        while (count--) {
                if (radeonfb_getpll(sc, RADEON_CLK_PWRMGT_CNTL) &
-                   RADEON_DLL_READY_MASK)
+                   RADEON_DLL_READY)
                        break;
        }
        DPRINTF(("%d\n", count));



Home | Main Index | Thread Index | Old Index