summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt/dpt_control.c
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1998-06-02 00:32:38 +0000
committereivind <eivind@FreeBSD.org>1998-06-02 00:32:38 +0000
commitf7112550c8685aab298cb3df5ff23d8027c9c23a (patch)
treede4c5529be7ee53f13500f6c8259fe0f395be6ed /sys/dev/dpt/dpt_control.c
parentcfe0052eeae642e9ff9c24764d1fd5734a50e93d (diff)
downloadFreeBSD-src-f7112550c8685aab298cb3df5ff23d8027c9c23a.zip
FreeBSD-src-f7112550c8685aab298cb3df5ff23d8027c9c23a.tar.gz
o Return error when the controller can't accept commands.
o Make driver less chatty on boot (only announce version under bootverbose) Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
Diffstat (limited to 'sys/dev/dpt/dpt_control.c')
-rw-r--r--sys/dev/dpt/dpt_control.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/dpt/dpt_control.c b/sys/dev/dpt/dpt_control.c
index 2c85819..fe3188d 100644
--- a/sys/dev/dpt/dpt_control.c
+++ b/sys/dev/dpt/dpt_control.c
@@ -36,7 +36,7 @@
* future.
*/
-#ident "$Id: dpt_control.c,v 1.3 1998/02/20 13:11:44 bde Exp $"
+#ident "$Id: dpt_control.c,v 1.4 1998/04/17 22:36:20 des Exp $"
#include "opt_dpt.h"
@@ -853,8 +853,9 @@ dpt_drvinit(void *unused)
dev_t dev;
if (!dpt_devsw_installed) {
- printf("DPT: RAID Manager driver, Version %d.%d.%d\n",
- DPT_CTL_RELEASE, DPT_CTL_VERSION, DPT_CTL_PATCH);
+ if (bootverbose)
+ printf("DPT: RAID Manager driver, Version %d.%d.%d\n",
+ DPT_CTL_RELEASE, DPT_CTL_VERSION, DPT_CTL_PATCH);
/* Add the I/O (data) channel */
dev = makedev(CDEV_MAJOR, 0);
OpenPOWER on IntegriCloud