diff options
author | peter <peter@FreeBSD.org> | 2000-01-12 14:20:12 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-01-12 14:20:12 +0000 |
commit | dbe7fe81d0ebf21af51fa53ae52ff7740a66937d (patch) | |
tree | 412c077a94fda4ee5845396460655c237767d242 /usr.sbin/config | |
parent | 4cffbf8a8e813913680263b7fd787844a14b285e (diff) | |
download | FreeBSD-src-dbe7fe81d0ebf21af51fa53ae52ff7740a66937d.zip FreeBSD-src-dbe7fe81d0ebf21af51fa53ae52ff7740a66937d.tar.gz |
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>
Diffstat (limited to 'usr.sbin/config')
-rw-r--r-- | usr.sbin/config/mkioconf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c index 320fd3a..c1ad796 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"); |