Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Back out previous. A proper fix will follow.



details:   https://anonhg.NetBSD.org/src/rev/43d73df2a345
branches:  trunk
changeset: 480154:43d73df2a345
user:      ad <ad%NetBSD.org@localhost>
date:      Wed Jan 05 16:04:00 2000 +0000

description:
Back out previous. A proper fix will follow.

diffstat:

 sys/dev/ic/pcdisplay_subr.c |  17 +----------------
 1 files changed, 1 insertions(+), 16 deletions(-)

diffs (38 lines):

diff -r 1faa20f2f428 -r 43d73df2a345 sys/dev/ic/pcdisplay_subr.c
--- a/sys/dev/ic/pcdisplay_subr.c       Wed Jan 05 15:12:42 2000 +0000
+++ b/sys/dev/ic/pcdisplay_subr.c       Wed Jan 05 16:04:00 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcdisplay_subr.c,v 1.10 1999/12/06 10:04:50 ad Exp $ */
+/* $NetBSD: pcdisplay_subr.c,v 1.11 2000/01/05 16:04:00 ad Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -40,8 +40,6 @@
 
 #include <dev/wscons/wsdisplayvar.h>
 
-#include "vga.h"
-
 void
 pcdisplay_cursor(id, on, row, col)
        void *id;
@@ -52,19 +50,6 @@
        bus_space_tag_t memt = scr->hdl->ph_memt;
        bus_space_handle_t memh = scr->hdl->ph_memh;
        int off;
-#if NVGA == 0
-       static int hwoff;
-
-       /* 
-        * If the VGA driver hasn't been included in the kernel, we
-        * need to turn the hardware cursor off here.
-        */
-       if (hwoff == 0) {
-               pcdisplay_6845_write(scr->hdl, cursorh, 0x10);
-               pcdisplay_6845_write(scr->hdl, cursorl, 0x10);
-               hwoff = 1;
-       }
-#endif /* NVGA == 0 */
 
        /* Remove old cursor image */
        if (scr->cursoron) {



Home | Main Index | Thread Index | Old Index