summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.y
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-03-28 00:56:11 +0000
committerache <ache@FreeBSD.org>1997-03-28 00:56:11 +0000
commitbcbc3df8b00d5fa1e1ebf1549f69ab50eb92c532 (patch)
tree037d72c30614aac260afca48707f4e7a49ae0da0 /usr.sbin/config/config.y
parent8db0f5f4fd48850ac02e218a0086a7032f3ea1fe (diff)
downloadFreeBSD-src-bcbc3df8b00d5fa1e1ebf1549f69ab50eb92c532.zip
FreeBSD-src-bcbc3df8b00d5fa1e1ebf1549f69ab50eb92c532.tar.gz
Remove support for "port none" and "port auto", it gains nothing,
non-standard and not used. "port auto" is equal to "port?" or missing "port" keyword now. "port none" is really probe routine task (return -1 for no ports).
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r--usr.sbin/config/config.y8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index fc396b7..cbf9ea5 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -9,7 +9,6 @@
%token ANY
%token ARGS
%token AT
-%token AUTO
%token BIO
%token BUS
%token COMMA
@@ -39,7 +38,6 @@
%token MINUS
%token NET
%token NEXUS
-%token NONE
%token ON
%token OPTIONS
%token MAKEOPTIONS
@@ -617,10 +615,6 @@ Info:
= { cur.d_port = $2; } |
PORT NUMBER
= { cur.d_portn = $2; } |
- PORT AUTO
- = { cur.d_portn = PORT_AUTO; } |
- PORT NONE
- = { cur.d_portn = PORT_NONE; } |
TTY
= { cur.d_mask = "tty"; } |
BIO
@@ -907,7 +901,7 @@ init_dev(dp)
dp->d_pri = -1;
dp->d_slave = dp->d_lun = dp->d_target = dp->d_drive = dp->d_unit = UNKNOWN;
dp->d_port = (char *)0;
- dp->d_portn = PORT_NONE;
+ dp->d_portn = -1;
dp->d_irq = -1;
dp->d_drq = -1;
dp->d_maddr = 0;
OpenPOWER on IntegriCloud