From f7112550c8685aab298cb3df5ff23d8027c9c23a Mon Sep 17 00:00:00 2001 From: eivind Date: Tue, 2 Jun 1998 00:32:38 +0000 Subject: 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 --- sys/pci/dpt_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/pci') diff --git a/sys/pci/dpt_pci.c b/sys/pci/dpt_pci.c index 3bb2420..11d02d7 100644 --- a/sys/pci/dpt_pci.c +++ b/sys/pci/dpt_pci.c @@ -34,7 +34,7 @@ * caveats: We may need an eisa and an isa files too */ -#ident "$Id: dpt_pci.c,v 1.4 1998/02/20 13:11:50 bde Exp $" +#ident "$Id: dpt_pci.c,v 1.5 1998/03/11 00:30:16 julian Exp $" #include "opt_devfs.h" #include "opt_dpt.h" @@ -110,7 +110,7 @@ dpt_pci_probe(pcici_t tag, pcidi_t type) #define PCI_SUBCLASS_MASS_STORAGE_SCSI 0x00000000 #endif - if ( !already_announced ) { + if ( bootverbose && !already_announced ) { printf("DPT: PCI SCSI HBA Driver, version %d.%d.%d\n", DPT_RELEASE, DPT_VERSION, DPT_PATCH); ++already_announced; -- cgit v1.1