summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/lang.l
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-04-13 19:57:38 +0000
committerbde <bde@FreeBSD.org>1996-04-13 19:57:38 +0000
commit6c70f295f50a3cb373c99006d3713172afa2476d (patch)
treea94df24732e592e1bd1506501bebf77087a5868a /usr.sbin/config/lang.l
parentece7fb1dfd55edc729ac540bb7137d178e809786 (diff)
downloadFreeBSD-src-6c70f295f50a3cb373c99006d3713172afa2476d.zip
FreeBSD-src-6c70f295f50a3cb373c99006d3713172afa2476d.tar.gz
Implemented a new keyword `disable'. This should be useful for controlling
dangerous drivers in GENERIC. Removed non-comments on #endifs in config.y. Improved output formatting in mkioconf.c.
Diffstat (limited to 'usr.sbin/config/lang.l')
-rw-r--r--usr.sbin/config/lang.l17
1 files changed, 10 insertions, 7 deletions
diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l
index 3d80f5d..3f4f544 100644
--- a/usr.sbin/config/lang.l
+++ b/usr.sbin/config/lang.l
@@ -57,17 +57,20 @@ struct kt {
{ "bio", BIO },
{ "bus", BUS },
{ "conflicts", CONFLICTS },
-#endif MACHINE_I386
+#endif
{ "config", CONFIG },
{ "controller", CONTROLLER },
{ "cpu", CPU },
{ "csr", CSR },
{ "device", DEVICE },
+#if MACHINE_I386
+ { "disable", DISABLE },
+#endif
{ "disk", DISK },
{ "drive", DRIVE },
-#if MACHINE_I386
+#if MACHINE_I386
{ "drq", DRQ },
-#endif MACHINE_I386
+#endif
{ "dumps", DUMPS },
{ "flags", FLAGS },
{ "ident", IDENT },
@@ -76,7 +79,7 @@ struct kt {
{ "iomem", IOMEM },
{ "iosiz", IOSIZ },
{ "irq", IRQ },
-#endif MACHINE_I386
+#endif
{ "machine", MACHINE },
{ "major", MAJOR },
{ "makeoptions", MAKEOPTIONS },
@@ -85,14 +88,14 @@ struct kt {
{ "minor", MINOR },
#if MACHINE_I386
{ "net", NET },
-#endif MACHINE_I386
+#endif
{ "nexus", NEXUS },
{ "none", NONE },
{ "on", ON },
{ "options", OPTIONS },
#if MACHINE_I386
{ "port", PORT },
-#endif MACHINE_I386
+#endif
{ "priority", PRIORITY },
{ "pseudo-device",PSEUDO_DEVICE },
{ "root", ROOT },
@@ -107,7 +110,7 @@ struct kt {
{ "target", TARGET },
#if MACHINE_I386
{ "tty", TTY },
-#endif MACHINE_I386
+#endif
{ "trace", TRACE },
{ "unit", UNIT },
{ "vector", VECTOR },
OpenPOWER on IntegriCloud