From 22c22b08b03e6ba0828b14d2aefa6f0ccd64ecbc Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Wed, 12 Jan 2000 14:20:12 +0000 Subject: Fix a bungle with the CAM static wiring tables. Write CAMCONF_UNSPEC instead of -2. This (I believe) caused static wirings to not match. This should fix Bill Pechter's problem but we'll see. Problem discovered by: Bill Pechter --- usr.sbin/config/mkioconf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index 320fd3aa3b65..c1ad796efd72 100644 --- a/usr.sbin/config/mkioconf.c +++ b/usr.sbin/config/mkioconf.c @@ -272,10 +272,10 @@ scbus_devtab(fp) fprintf(fp, "{ "); fprintf(fp, "\"%s\", ", dp->d_name); - fprintf(fp, "%d, ", dp->d_unit); - fprintf(fp, "%d, ", dp->d_connunit); - fprintf(fp, "%d, ", dp->d_target); - fprintf(fp, "%d, ", dp->d_lun); + fprintf(fp, "%s, ", id(dp->d_unit)); + fprintf(fp, "%s, ", id(dp->d_connunit)); + fprintf(fp, "%s, ", id(dp->d_target)); + fprintf(fp, "%s, ", id(dp->d_lun)); fprintf(fp, " 0x%x },\n", dp->d_flags); } fprintf(fp, "{ 0, 0, 0, 0, 0, 0 }\n"); -- cgit v1.3