From 34707c9f37f5259c0f7b29e71728c3ce350b6446 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Wed, 4 Apr 2001 18:24:35 +0000 Subject: [PATCH] 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(-) diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c index 2286a51bed70..de420750ce2d 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";