summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-07-12 22:32:27 +0000
committerps <ps@FreeBSD.org>2003-07-12 22:32:27 +0000
commit3da6cb86b116bf0bd5650330ce345d500344fdbb (patch)
tree123e9de6cd79510434862f8b36a56efe948842e3 /sys/dev/ciss
parentb4eae594fc1e9023ade165c780f3bf59be13f1ae (diff)
downloadFreeBSD-src-3da6cb86b116bf0bd5650330ce345d500344fdbb.zip
FreeBSD-src-3da6cb86b116bf0bd5650330ce345d500344fdbb.tar.gz
Quiet down ciss unless bootverbose is set.
Diffstat (limited to 'sys/dev/ciss')
-rw-r--r--sys/dev/ciss/ciss.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index ba642de..ec8b622 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -731,7 +731,7 @@ ciss_init_requests(struct ciss_softc *sc)
*/
sc->ciss_max_requests = min(CISS_MAX_REQUESTS, sc->ciss_cfg->max_outstanding_commands);
- if (1/*bootverbose*/)
+ if (bootverbose)
ciss_printf(sc, "using %d of %d available commands\n",
sc->ciss_max_requests, sc->ciss_cfg->max_outstanding_commands);
@@ -849,7 +849,7 @@ ciss_identify_adapter(struct ciss_softc *sc)
sc->ciss_flags |= CISS_FLAG_BMIC_ABORT;
/* print information */
- if (1/*bootverbose*/) {
+ if (bootverbose) {
ciss_printf(sc, " %d logical drive%s configured\n",
sc->ciss_id->configured_logical_drives,
(sc->ciss_id->configured_logical_drives == 1) ? "" : "s");
@@ -985,7 +985,7 @@ ciss_init_logical(struct ciss_softc *sc)
/*
* Save logical drive information.
*/
- if (1/*bootverbose*/)
+ if (bootverbose)
ciss_printf(sc, "%d logical drive%s\n", ndrives, (ndrives > 1) ? "s" : "");
if (ndrives != sc->ciss_id->configured_logical_drives)
ciss_printf(sc, "logical drive map claims %d drives, but adapter claims %d\n",
@@ -1149,7 +1149,7 @@ ciss_identify_logical(struct ciss_softc *sc, struct ciss_ldrive *ld)
/*
* Print the drive's basic characteristics.
*/
- if (1/*bootverbose*/) {
+ if (bootverbose) {
ciss_printf(sc, "logical drive %d: %s, %dMB ",
cbc->log_drive, ciss_name_ldrive_org(ld->cl_ldrive->fault_tolerance),
((ld->cl_ldrive->blocks_available / (1024 * 1024)) *
OpenPOWER on IntegriCloud