diff options
author | sobomax <sobomax@FreeBSD.org> | 2008-01-15 19:21:08 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2008-01-15 19:21:08 +0000 |
commit | 639a73bd88500213299a46a9a989066262b823e3 (patch) | |
tree | 237a8a9d9ad6ac5e5d90469692b2b8ab5335e005 | |
parent | 184b0a421c06508d8fb64ca380d15178fab8e442 (diff) | |
download | FreeBSD-src-639a73bd88500213299a46a9a989066262b823e3.zip FreeBSD-src-639a73bd88500213299a46a9a989066262b823e3.tar.gz |
Hide common prints under bootverbose.
Obtained from: src/sys/dev/rr232x/osm_bsd.c, rev.1.2-1.3
MFC after: 2 weeks
-rw-r--r-- | sys/dev/hptrr/hptrr_osm_bsd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/hptrr/hptrr_osm_bsd.c b/sys/dev/hptrr/hptrr_osm_bsd.c index 64596cf..6a84030 100644 --- a/sys/dev/hptrr/hptrr_osm_bsd.c +++ b/sys/dev/hptrr/hptrr_osm_bsd.c @@ -1031,7 +1031,8 @@ static void hpt_final_init(void *dummy) } if (!i) { - os_printk("no controller detected."); + if (bootverbose) + os_printk("no controller detected."); return; } @@ -1218,7 +1219,8 @@ static void override_kernel_driver(void) static void hpt_init(void *dummy) { - os_printk("%s %s", driver_name_long, driver_ver); + if (bootverbose) + os_printk("%s %s", driver_name_long, driver_ver); override_kernel_driver(); init_config(); |