summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/mkioconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/config/mkioconf.c')
-rw-r--r--usr.sbin/config/mkioconf.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.sbin/config/mkioconf.c b/usr.sbin/config/mkioconf.c
index 413be07..0f2af8a 100644
--- a/usr.sbin/config/mkioconf.c
+++ b/usr.sbin/config/mkioconf.c
@@ -855,10 +855,15 @@ scbus_devtab(fp, dev_idp)
continue;
}
- if (mp->d_conn == 0) {
+ if (mp->d_conn == 0 &&
+ (dp->d_target != UNKNOWN && dp->d_target != QUES)) {
fprintf(stderr,
- "%s%s: Warning, can't tell what is attached to scbus%s.\n",
- dp->d_name, wnum(dp->d_unit), wnum(mp->d_unit));
+ "Warning: %s%s is configured at ",
+ dp->d_name, wnum(dp->d_unit));
+
+ fprintf(stderr,
+ "%s%s which is not fixed at a single adapter.\n",
+ mp->d_name, wnum(mp->d_unit));
}
fprintf(fp, "{ ");
OpenPOWER on IntegriCloud