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 <pechter@shell.monmouth.com>
This commit is contained in:
Peter Wemm 2000-01-12 14:20:12 +00:00
parent dad8dd78d6
commit 22c22b08b0

View file

@ -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");