summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcisupport.c
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1994-12-22 21:20:39 +0000
committerse <se@FreeBSD.org>1994-12-22 21:20:39 +0000
commitc01314f53a9a7b1aa96bd69fd6d96819170267f0 (patch)
tree743d796287b792ed1c8ff2c6cd8f56456460e91f /sys/pci/pcisupport.c
parenta23f1625b243d7121569026efa7e1ae004b94f9f (diff)
downloadFreeBSD-src-c01314f53a9a7b1aa96bd69fd6d96819170267f0.zip
FreeBSD-src-c01314f53a9a7b1aa96bd69fd6d96819170267f0.tar.gz
Add support for -v option passed to boot loader (bootverbose).
Reviewed by: Submitted by: Obtained from:
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r--sys/pci/pcisupport.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index 6b8a9fe..21a25a5 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 1.4 1994/10/17 21:11:31 phk Exp $
+** $Id: pcisupport.c,v 1.5 1994/10/25 18:45:19 se Exp $
**
** Device driver for INTEL PCI chipsets.
**
@@ -54,6 +54,9 @@
#include <i386/pci/pcireg.h>
extern void printf();
+
+extern int bootverbose;
+
/*---------------------------------------------------------
**
@@ -258,7 +261,7 @@ static void writeconfig(pcici_t config_id, struct condmsg *tbl)
void chipset_attach(pcici_t config_id, int unit)
{
-#ifdef PROBE_VERBOSE
+ if (bootverbose) {
switch (pci_conf_read (config_id, 0)) {
case 0x04838086:
@@ -275,7 +278,7 @@ void chipset_attach(pcici_t config_id, int unit)
pci_conf_read (config_id, 0x54));
break;
};
-#endif
+ }
}
/*---------------------------------------------------------
OpenPOWER on IntegriCloud