diff options
author | peter <peter@FreeBSD.org> | 1999-11-09 07:20:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-11-09 07:20:22 +0000 |
commit | d21ff337ef6afcb755ed17f6ff18b87e1aae70b9 (patch) | |
tree | 6fbb16f3111ebb24e8552e3d95f48c9a77119882 /usr.sbin/config/lang.l | |
parent | d4a804e4d3d89846a9fbb9ea620f73342535bd25 (diff) | |
download | FreeBSD-src-d21ff337ef6afcb755ed17f6ff18b87e1aae70b9.zip FreeBSD-src-d21ff337ef6afcb755ed17f6ff18b87e1aae70b9.tar.gz |
Re-support "tape" as an alias for device and clean up a bit more cruft
left over from the original system (d_dk was for preassigned iostat unit
numbers for disks)
Diffstat (limited to 'usr.sbin/config/lang.l')
-rw-r--r-- | usr.sbin/config/lang.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l index 16c27ba..3a512a6 100644 --- a/usr.sbin/config/lang.l +++ b/usr.sbin/config/lang.l @@ -74,6 +74,7 @@ struct kt { { "options", OPTIONS }, { "port", PORT }, { "pseudo-device",PSEUDO_DEVICE }, + { "tape", TAPE }, { "target", TARGET }, { "unit", UNIT }, { 0, 0 }, @@ -105,7 +106,7 @@ ID [A-Za-z_][-A-Za-z_0-9]* if ((i = kw_lookup(yytext)) == -1) REJECT; - if (i == CONTROLLER || i == DEVICE || i == DISK || + if (i == CONTROLLER || i == DEVICE || i == DISK || i == TAPE || i == PSEUDO_DEVICE || i == AT) BEGIN NONUM; return i; |