aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2008-08-31 10:17:40 +0000
committerEd Schouten <ed@FreeBSD.org>2008-08-31 10:17:40 +0000
commit0639d527caadd9847987c7c421d19a2c32996aa9 (patch)
treec3d5c31e1d60af9f89d0b18a6f4108c0b31093bd /sys/dev/syscons
parenta0ac6fc0bc6551108d8de8fe916170433204e1ee (diff)
Notes
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index 3c83adbcd5af..37b08b6b24ee 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -1509,7 +1509,9 @@ sc_cnputc(struct consdev *cd, int c)
scr_stat *scp = sc_console;
void *save;
#ifndef SC_NO_HISTORY
+#if 0
struct tty *tp;
+#endif
#endif /* !SC_NO_HISTORY */
int s;
@@ -1526,11 +1528,18 @@ sc_cnputc(struct consdev *cd, int c)
scp->status |= CURSOR_ENABLED;
sc_draw_cursor_image(scp);
}
+#if 0
+ /*
+ * XXX: Now that TTY's have their own locks, we cannot process
+ * any data after disabling scroll lock. cnputs already holds a
+ * spinlock.
+ */
tp = SC_DEV(scp->sc, scp->index);
tty_lock(tp);
if (tty_opened(tp))
sctty_outwakeup(tp);
tty_unlock(tp);
+#endif
}
#endif /* !SC_NO_HISTORY */