summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_periph.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cam/cam_periph.c')
-rw-r--r--sys/cam/cam_periph.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index 2286a51..de42075 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -1639,7 +1639,13 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
/*getcount_only*/0);
}
- if (error != 0 && bootverbose) {
+ /*
+ * If we have and error and are booting verbosely, whine
+ * *unless* this was a non-retryable selection timeout.
+ */
+ if (error != 0 && bootverbose &&
+ !(status == CAM_SEL_TIMEOUT && (camflags & CAM_RETRY_SELTO) == 0)) {
+
if (action_string == NULL)
action_string = "Unretryable Error";
OpenPOWER on IntegriCloud