Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/wscons Give up making wscons modular for now.
details: https://anonhg.NetBSD.org/src/rev/aa237964ba8b
branches: trunk
changeset: 333061:aa237964ba8b
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Oct 17 10:09:21 2014 +0000
description:
Give up making wscons modular for now.
My intent is to make "no" handle dependency right so that you can simplely do:
no wsdisplay*
diffstat:
sys/dev/wscons/files.wscons | 28 ++++++++++++----------------
1 files changed, 12 insertions(+), 16 deletions(-)
diffs (58 lines):
diff -r 78fdb01faded -r aa237964ba8b sys/dev/wscons/files.wscons
--- a/sys/dev/wscons/files.wscons Fri Oct 17 02:57:42 2014 +0000
+++ b/sys/dev/wscons/files.wscons Fri Oct 17 10:09:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.wscons,v 1.48 2014/10/10 17:53:08 uebayasi Exp $
+# $NetBSD: files.wscons,v 1.49 2014/10/17 10:09:21 uebayasi Exp $
#
# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
@@ -36,29 +36,25 @@
defparam opt_wsdisplay_compat.h WSDISPLAY_SCROLLBACK_LINES=100
# this loses, but there's no way to define attributes which have attributes
-device wsdisplay: wsevent # tty?
+device wsdisplay #tty?
attach wsdisplay at wsemuldisplaydev with wsdisplay_emul
attach wsdisplay at wsdisplaydev with wsdisplay_noemul
-device wskbd: wsevent
+device wskbd
attach wskbd at wskbddev
-device wsmouse: wsevent
+device wsmouse
attach wsmouse at wsmousedev
file dev/wscons/wsdisplay.c wsdisplay needs-flag
-define wsdisplay_compat_usl: wsdisplay
-file dev/wscons/wsdisplay_compat_usl.c wsdisplay_compat_usl
+file dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
file dev/wscons/wsdisplay_util.c wsdisplay
file dev/wscons/wsemulconf.c wsdisplay
file dev/wscons/wsemul_dumb.c wsdisplay & !wsemul_no_dumb
-define wsemul_sun: wsdisplay
-file dev/wscons/wsemul_sun.c wsemul_sun
-define wsemul_vt100: wsdisplay
-file dev/wscons/wsemul_vt100.c wsemul_vt100
-file dev/wscons/wsemul_vt100_subr.c wsemul_vt100
-file dev/wscons/wsemul_vt100_chars.c wsemul_vt100
-file dev/wscons/wsemul_vt100_keys.c wsemul_vt100
-define wsevent
-file dev/wscons/wsevent.c
+file dev/wscons/wsemul_sun.c wsdisplay & wsemul_sun
+file dev/wscons/wsemul_vt100.c wsdisplay & wsemul_vt100
+file dev/wscons/wsemul_vt100_subr.c wsdisplay & wsemul_vt100
+file dev/wscons/wsemul_vt100_chars.c wsdisplay & wsemul_vt100
+file dev/wscons/wsemul_vt100_keys.c wsdisplay & wsemul_vt100
+file dev/wscons/wsevent.c wsdisplay | wskbd | wsmouse | wsmux
file dev/wscons/wskbd.c wskbd needs-flag
file dev/wscons/wskbdutil.c wskbd needs-flag
file dev/wscons/wsmouse.c wsmouse needs-flag
@@ -69,7 +65,7 @@
file dev/wscons/wscons_rinit.c wsrasteremulops
file dev/wscons/wscons_rops.c wsrasteremulops
-defpseudo wsmux: wsevent
+defpseudo wsmux
file dev/wscons/wsmux.c wsmux needs-flag
define tpcalib
Home |
Main Index |
Thread Index |
Old Index