summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1998-10-10 21:10:36 +0000
committergibbs <gibbs@FreeBSD.org>1998-10-10 21:10:36 +0000
commit7515a1477de58d2ddf7a4b1e1e97254ae1ed69e7 (patch)
tree13471f1e9f6b3a9d9c6b177231a9df7bd71b0fe0 /sys/cam
parenta833cbc0a25c7ca557d19dd702fcc5900d6f5188 (diff)
downloadFreeBSD-src-7515a1477de58d2ddf7a4b1e1e97254ae1ed69e7.zip
FreeBSD-src-7515a1477de58d2ddf7a4b1e1e97254ae1ed69e7.tar.gz
If the bus delay is >= 2 seconds, notify the user that we are waiting
for devices to settle. This will hopefully allay any 'first installation' fears that the machine has hung.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/cam_xpt.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index b68f506..8c438bd 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cam_xpt.c,v 1.16 1998/10/06 19:27:19 ken Exp $
+ * $Id: cam_xpt.c,v 1.17 1998/10/07 03:25:21 gibbs Exp $
*/
#include <sys/param.h>
#include <sys/systm.h>
@@ -5543,8 +5543,13 @@ xpt_config(void *arg)
if (busses_to_config == 0) {
/* Call manually because we don't have any busses */
xpt_finishconfig(xpt_periph, NULL);
- } else
+ } else {
+ if (SCSI_DELAY >= 2000) {
+ printf("Waiting %d seconds for SCSI "
+ "devices to settle\n", SCSI_DELAY/1000);
+ }
xpt_for_all_busses(xptconfigfunc, NULL);
+ }
}
static int
OpenPOWER on IntegriCloud