Module Name: src
Committed By: macallan
Date: Mon Mar 1 01:14:58 UTC 2010
Modified Files:
src/sys/arch/sparc64/sparc64: autoconf.c
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.170 -r1.171 src/sys/arch/sparc64/sparc64/autoconf.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/arch/sparc64/sparc64/autoconf.c
diff -u src/sys/arch/sparc64/sparc64/autoconf.c:1.170 src/sys/arch/sparc64/sparc64/autoconf.c:1.171
--- src/sys/arch/sparc64/sparc64/autoconf.c:1.170 Sun Feb 28 13:59:05 2010
+++ src/sys/arch/sparc64/sparc64/autoconf.c Mon Mar 1 01:14:58 2010
@@ -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)