Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 Don't call frame-buffer-adr since i...



details:   https://anonhg.NetBSD.org/src/rev/d6ef313a4836
branches:  trunk
changeset: 752541:d6ef313a4836
user:      macallan <macallan%NetBSD.org@localhost>
date:      Mon Mar 01 01:14:58 2010 +0000

description:
Don't call frame-buffer-adr since it doesn't work as expected by the code
that got cargo culted over from macppc. While there shut up some leftover
debug printf.

diffstat:

 sys/arch/sparc64/sparc64/autoconf.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r 38008aaf2db7 -r d6ef313a4836 sys/arch/sparc64/sparc64/autoconf.c
--- a/sys/arch/sparc64/sparc64/autoconf.c       Mon Mar 01 00:55:33 2010 +0000
+++ b/sys/arch/sparc64/sparc64/autoconf.c       Mon Mar 01 01:14:58 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.170 2010/02/28 13:59:05 martin Exp $ */
+/*     $NetBSD: autoconf.c,v 1.171 2010/03/01 01:14:58 macallan Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -48,7 +48,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.170 2010/02/28 13:59:05 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.171 2010/03/01 01:14:58 macallan Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -1128,8 +1128,6 @@
                prop_dictionary_set_uint32(dict, "depth", 8);
        }
        OF_getprop(console_node, "address", &fbaddr, sizeof(fbaddr));
-       if (fbaddr == 0)
-               OF_interpret("frame-buffer-adr", 0, 1, &fbaddr);
        if (fbaddr != 0) {
        
                pmap_extract(pmap_kernel(), fbaddr, &fbpa);
@@ -1164,7 +1162,6 @@
                return;
        if (OF_getprop(options, "output-device", output_device, 256) == 0)
                return;
-       printf("output-device: %s\n", output_device);
        /* find the mode string if there is one */
        pos = strstr(output_device, ":r");
        if (pos == NULL)



Home | Main Index | Thread Index | Old Index