diff options
author | eivind <eivind@FreeBSD.org> | 1998-06-02 00:32:38 +0000 |
---|---|---|
committer | eivind <eivind@FreeBSD.org> | 1998-06-02 00:32:38 +0000 |
commit | f7112550c8685aab298cb3df5ff23d8027c9c23a (patch) | |
tree | de4c5529be7ee53f13500f6c8259fe0f395be6ed /sys/dev/dpt/dpt_control.c | |
parent | cfe0052eeae642e9ff9c24764d1fd5734a50e93d (diff) | |
download | FreeBSD-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.c | 7 |
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); |