Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/dev Remove 'already the console' check, which ...



details:   https://anonhg.NetBSD.org/src/rev/e49c05b2e3a0
branches:  trunk
changeset: 474712:e49c05b2e3a0
user:      ad <ad%NetBSD.org@localhost>
date:      Fri Jul 16 14:23:47 1999 +0000

description:
Remove 'already the console' check, which will be handled by fballoc(),
fbattach() and fbconnect() shortly.

diffstat:

 sys/arch/pmax/dev/pm_ds.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (24 lines):

diff -r dc581ce3549c -r e49c05b2e3a0 sys/arch/pmax/dev/pm_ds.c
--- a/sys/arch/pmax/dev/pm_ds.c Fri Jul 16 14:15:49 1999 +0000
+++ b/sys/arch/pmax/dev/pm_ds.c Fri Jul 16 14:23:47 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pm_ds.c,v 1.8 1999/04/13 03:22:00 ad Exp $     */
+/*     $NetBSD: pm_ds.c,v 1.9 1999/07/16 14:23:47 ad Exp $     */
 
 /*
  * Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -123,13 +123,7 @@
        /*struct ibus_attach_args *ia = aux;*/
        /*caddr_t pmaddr = (caddr_t)ia->ia_addr;*/
 
-       /* don't init twice */
-       if (pmfi.fi_pixels != NULL)
-               printf (": (%dx%dx%d) (console)",
-                       pmfi.fi_type.fb_width,
-                       pmfi.fi_type.fb_height,
-                       pmfi.fi_type.fb_depth);
-       else if (!pminit(&pmfi, 0, 0))
+       if (!pminit(&pmfi, 0, 0))
                return;
 
        /* no interrupts for PM */



Home | Main Index | Thread Index | Old Index