diff options
author | se <se@FreeBSD.org> | 1995-09-14 13:13:33 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-09-14 13:13:33 +0000 |
commit | 1104c373a38eeb7b555c83f05e84ceb441ac4f71 (patch) | |
tree | 7db36940256670ecbb644617d912ac96bd58504c | |
parent | 4480a95449cc8af61613d05ae48fe994d19abb53 (diff) | |
download | FreeBSD-src-1104c373a38eeb7b555c83f05e84ceb441ac4f71.zip FreeBSD-src-1104c373a38eeb7b555c83f05e84ceb441ac4f71.tar.gz |
Do not include the verbose boot messages, if PCI_QUIET is defined.
-rw-r--r-- | sys/pci/pcisupport.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c index 00efb19..e09171a 100644 --- a/sys/pci/pcisupport.c +++ b/sys/pci/pcisupport.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcisupport.c,v 1.19 1995/09/07 14:17:46 se Exp $ +** $Id: pcisupport.c,v 1.20 1995/09/07 15:40:51 se Exp $ ** ** Device driver for DEC/INTEL PCI chipsets. ** @@ -41,8 +41,6 @@ *************************************************************************** */ -#define __PCISUPPORT_C__ "pl4 95/03/21" - #include <sys/types.h> #include <sys/param.h> #include <sys/systm.h> @@ -100,10 +98,6 @@ chipset_probe (pcici_t tag, pcidi_t type) return ("Intel 82424ZX (Saturn) cache DRAM controller"); case 0x04828086: return ("Intel 82375EB PCI-EISA bridge"); -#ifdef undef - case 0x04868086: - return ("Intel 82430ZX (Aries)"); -#endif /* undef */ case 0x04a38086: rev = (unsigned) pci_conf_read (tag, PCI_CLASS_REG) & 0xff; if (rev == 16 || rev == 17) @@ -130,6 +124,8 @@ chipset_probe (pcici_t tag, pcidi_t type) return ((char*)0); } +#ifndef PCI_QUIET + #define M_EQ 0 /* mask and return true if equal */ #define M_NE 1 /* mask and return true if not equal */ #define TRUE 2 /* don't read config, always true */ @@ -405,9 +401,12 @@ writeconfig (pcici_t config_id, const struct condmsg *tbl) } } +#endif /* PCI_QUIET */ + static void chipset_attach (pcici_t config_id, int unit) { +#ifndef PCI_QUIET if (!bootverbose) return; @@ -432,8 +431,10 @@ chipset_attach (pcici_t config_id, int unit) pci_conf_read (config_id, 0x54)); break; }; +#endif /* PCI_QUIET */ } +#ifdef undef /*--------------------------------------------------------- ** ** Catchall driver for VGA devices @@ -472,7 +473,7 @@ static char* vga_probe (pcici_t tag, pcidi_t type) case PCI_CLASS_DISPLAY: if ((data & PCI_SUBCLASS_MASK) == PCI_SUBCLASS_DISPLAY_VGA) - return "VGA-compatible display device"; + return ("VGA-compatible display device"); else return ("Display device"); }; @@ -493,6 +494,7 @@ static void vga_attach (pcici_t tag, int unit) (void) pci_map_mem (tag, reg, &va, &pa); #endif } +#endif /* undef */ /*--------------------------------------------------------- ** |