Don't call into the TTY layer when inside kdb.

We should just leave the underlying TTY objects alone when scrolling
around in KDB. It should be handled by Syscons exclusively.

Reported by:	pluknet gmail com
This commit is contained in:
Ed Schouten 2009-03-09 19:46:19 +00:00
parent 5bd65606f4
commit 8ddd1f723d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189596

View File

@ -3277,7 +3277,7 @@ scgetc(sc_softc_t *sc, u_int flags)
sc_draw_cursor_image(scp);
}
tp = SC_DEV(sc, scp->index);
if (tty_opened(tp))
if (!kdb_active && tty_opened(tp))
sctty_outwakeup(tp);
#endif
}