Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Nuke global `fbnode'.



details:   https://anonhg.NetBSD.org/src/rev/d2a6e41adad3
branches:  trunk
changeset: 483960:d2a6e41adad3
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Mar 21 21:29:16 2000 +0000

description:
Nuke global `fbnode'.

diffstat:

 sys/arch/sparc/sparc/autoconf.c |  7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r a5af1243fe3b -r d2a6e41adad3 sys/arch/sparc/sparc/autoconf.c
--- a/sys/arch/sparc/sparc/autoconf.c   Tue Mar 21 20:47:34 2000 +0000
+++ b/sys/arch/sparc/sparc/autoconf.c   Tue Mar 21 21:29:16 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: autoconf.c,v 1.135 2000/03/21 12:48:46 pk Exp $ */
+/*     $NetBSD: autoconf.c,v 1.136 2000/03/21 21:29:16 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -99,7 +99,6 @@
  * the configuration process, and are used in initializing
  * the machine.
  */
-int    fbnode;         /* node ID of ROM's console frame buffer */
 int    optionsnode;    /* node ID of ROM's options */
 int    mmu_3l;         /* SUN4_400 models have a 3-level MMU */
 
@@ -1046,10 +1045,6 @@
 
        node = findroot();      /* re-init root node */
 
-       if (prom_version() <= 2)
-               /* remember which frame buffer, if any, is to be `/dev/fb' */
-               fbnode = getpropint(node, "fb", 0);
-
        /* Find the "options" node */
        node0 = firstchild(node);
        optionsnode = findnode(node0, "options");



Home | Main Index | Thread Index | Old Index