From 94d84ccb7cfc01483deb7f5af475c654933bf15d Mon Sep 17 00:00:00 2001 From: gibbs Date: Sun, 21 Sep 1997 22:12:50 +0000 Subject: [PATCH] Add isa_devtab_cam. --- usr.sbin/config/config.y | 3 +++ usr.sbin/config/lang.l | 1 + usr.sbin/config/mkglue.c | 3 ++- usr.sbin/config/mkioconf.c | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y index e2fdc95c6a37..268f6bc412ac 100644 --- a/usr.sbin/config/config.y +++ b/usr.sbin/config/config.y @@ -11,6 +11,7 @@ %token AT %token BIO %token BUS +%token CAM %token COMMA %token CONFIG %token CONFLICTS @@ -625,6 +626,8 @@ Info: = { cur.d_mask = "tty"; } | BIO = { cur.d_mask = "bio"; } | + CAM + = { cur.d_mask = "cam"; } | NET = { cur.d_mask = "net"; } | FLAGS NUMBER diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l index 6a8cef940059..5e0cd21856b4 100644 --- a/usr.sbin/config/lang.l +++ b/usr.sbin/config/lang.l @@ -55,6 +55,7 @@ struct kt { #if MACHINE_I386 { "bio", BIO }, { "bus", BUS }, + { "cam", CAM}, { "conflicts", CONFLICTS }, #endif { "config", CONFIG }, diff --git a/usr.sbin/config/mkglue.c b/usr.sbin/config/mkglue.c index bf49a14abbef..bbf0da07715a 100644 --- a/usr.sbin/config/mkglue.c +++ b/usr.sbin/config/mkglue.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mkglue.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id$"; + "$Id: mkglue.c,v 1.12 1997/09/15 06:37:08 charnier Exp $"; #endif /* not lint */ /* @@ -383,6 +383,7 @@ vector() vector_devtab(fp, "bio", &dev_id); vector_devtab(fp, "tty", &dev_id); vector_devtab(fp, "net", &dev_id); + vector_devtab(fp, "cam", &dev_id); vector_devtab(fp, "null", &dev_id); fprintf(fp, "\"\n\n"); fprintf(fp, "#define\tNR_DEVICES\t%d\n", dev_id); diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index 5db49a7e85cc..425e66ce37b1 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mkioconf.c 8.2 (Berkeley) 1/21/94"; #endif static const char rcsid[] = - "$Id: mkioconf.c,v 1.31 1997/09/15 06:37:09 charnier Exp $"; + "$Id: mkioconf.c,v 1.32 1997/09/17 06:20:44 charnier Exp $"; #endif /* not lint */ #include @@ -698,6 +698,7 @@ i386_ioconf() isa_biotab(fp, "fdc"); isa_devtab(fp, "tty", &dev_id); isa_devtab(fp, "net", &dev_id); + isa_devtab(fp, "cam", &dev_id); isa_devtab(fp, "null", &dev_id); } if (seen_scbus)