From c01314f53a9a7b1aa96bd69fd6d96819170267f0 Mon Sep 17 00:00:00 2001 From: se Date: Thu, 22 Dec 1994 21:20:39 +0000 Subject: Add support for -v option passed to boot loader (bootverbose). Reviewed by: Submitted by: Obtained from: --- sys/pci/pcisupport.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'sys/pci/pcisupport.c') 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 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 + } } /*--------------------------------------------------------- -- cgit v1.1