summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-08-02 20:49:01 +0000
committerimp <imp@FreeBSD.org>2008-08-02 20:49:01 +0000
commit726eab705bd36797f4a1268188c0b8a8e707f3d8 (patch)
treea8bf9bd18da5ea34cae209e1ebb3b847f6b5e1d2 /sys/dev
parentd2adb03381bacd8c91dfae4dc7777c6e6dbc4304 (diff)
downloadFreeBSD-src-726eab705bd36797f4a1268188c0b8a8e707f3d8.zip
FreeBSD-src-726eab705bd36797f4a1268188c0b8a8e707f3d8.tar.gz
Report what kind of chip only under bootverbose since that's now
exported via a sysctl.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/wi/if_wi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 56aa34d..62b7114 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -1675,7 +1675,8 @@ wi_read_nicid(struct wi_softc *sc)
sc->sc_nic_name = "Unknown Lucent chip";
}
}
- device_printf(sc->sc_dev, "using %s\n", sc->sc_nic_name);
+ if (bootverbose)
+ device_printf(sc->sc_dev, "using %s\n", sc->sc_nic_name);
/* get primary firmware version (Only Prism chips) */
if (sc->sc_firmware_type != WI_LUCENT) {
OpenPOWER on IntegriCloud