summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorray <ray@FreeBSD.org>2014-05-05 21:31:00 +0000
committerray <ray@FreeBSD.org>2014-05-05 21:31:00 +0000
commit4c0632abf4649c93dfa12517eeb1f006924d972a (patch)
treec1579a5f8d6cccb673ac273c4a181a22a22ae1ff
parent53e0a1c2d01e2ea80514d04ab74198e733bf32e7 (diff)
downloadFreeBSD-src-4c0632abf4649c93dfa12517eeb1f006924d972a.zip
FreeBSD-src-4c0632abf4649c93dfa12517eeb1f006924d972a.tar.gz
Create dataset for vt(4) drivers.
Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/dev/vt/vt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/vt/vt.h b/sys/dev/vt/vt.h
index fb768e9..66d05c2 100644
--- a/sys/dev/vt/vt.h
+++ b/sys/dev/vt/vt.h
@@ -394,6 +394,9 @@ TERMINAL_DECLARE_EARLY(driver ## _consterm, vt_termclass, \
SYSINIT(vt_early_cons, SI_SUB_INT_CONFIG_HOOKS, SI_ORDER_ANY, \
vt_upgrade, &driver ## _consdev)
+/* name argument is not used yet. */
+#define VT_DRIVER_DECLARE(name, drv) DATA_SET(vt_drv_set, drv)
+
/*
* Fonts.
*
OpenPOWER on IntegriCloud