diff options
author | jhb <jhb@FreeBSD.org> | 2004-07-01 07:46:29 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-07-01 07:46:29 +0000 |
commit | 900e7c295df4b2ceeb962eed75c09dcd513e8474 (patch) | |
tree | 21d778c675dd108d89c9cdf1b6991ddb90939ee8 /sys/i386/isa | |
parent | 3c5c35a72b44c745361adcdc5002abdd00233ca6 (diff) | |
download | FreeBSD-src-900e7c295df4b2ceeb962eed75c09dcd513e8474.zip FreeBSD-src-900e7c295df4b2ceeb962eed75c09dcd513e8474.tar.gz |
Trim a few things from the dmesg output and stick them under bootverbose to
cut down on the clutter including PCI interrupt routing, MTRR, pcibios,
etc.
Discussed with: USENIX Cabal
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/vesa.c | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/sys/i386/isa/vesa.c b/sys/i386/isa/vesa.c index 80f9055..65739aa 100644 --- a/sys/i386/isa/vesa.c +++ b/sys/i386/isa/vesa.c @@ -1513,22 +1513,26 @@ vesa_bios_info(int level) int i; #endif - /* general adapter information */ - printf("VESA: v%d.%d, %dk memory, flags:0x%x, mode table:%p (%x)\n", - ((vesa_adp_info->v_version & 0xf000) >> 12) * 10 - + ((vesa_adp_info->v_version & 0x0f00) >> 8), - ((vesa_adp_info->v_version & 0x00f0) >> 4) * 10 - + (vesa_adp_info->v_version & 0x000f), - vesa_adp_info->v_memsize * 64, vesa_adp_info->v_flags, - vesa_vmodetab, vesa_adp_info->v_modetable); - /* OEM string */ - if (vesa_oemstr != NULL) - printf("VESA: %s\n", vesa_oemstr); + if (bootverbose) { + /* general adapter information */ + printf( + "VESA: v%d.%d, %dk memory, flags:0x%x, mode table:%p (%x)\n", + ((vesa_adp_info->v_version & 0xf000) >> 12) * 10 + + ((vesa_adp_info->v_version & 0x0f00) >> 8), + ((vesa_adp_info->v_version & 0x00f0) >> 4) * 10 + + (vesa_adp_info->v_version & 0x000f), + vesa_adp_info->v_memsize * 64, vesa_adp_info->v_flags, + vesa_vmodetab, vesa_adp_info->v_modetable); + + /* OEM string */ + if (vesa_oemstr != NULL) + printf("VESA: %s\n", vesa_oemstr); + } if (level <= 0) return 0; - if (vesa_adp_info->v_version >= 0x0200) { + if (vesa_adp_info->v_version >= 0x0200 && bootverbose) { /* vender name, product name, product revision */ printf("VESA: %s %s %s\n", (vesa_venderstr != NULL) ? vesa_venderstr : "unknown", |