From 12d95b20ac39c425c40acc47ab5af04c362d11d8 Mon Sep 17 00:00:00 2001 From: mjacob Date: Wed, 4 Apr 2001 18:24:35 +0000 Subject: If we have and error and are booting verbosely, don't be complaining if this was a non-retryable selection timeout- wading through 256 targets worth of Fibre Channel 'selection timeouts' is tedious at best. --- sys/cam/cam_periph.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/cam/cam_periph.c') 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"; -- cgit v1.1