mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Make mfi(4) little bit less chatty.
This commit is contained in:
parent
1d864e0d2d
commit
0cca89cc53
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200231
@ -1081,9 +1081,22 @@ static void
|
||||
mfi_decode_evt(struct mfi_softc *sc, struct mfi_evt_detail *detail)
|
||||
{
|
||||
|
||||
device_printf(sc->mfi_dev, "%d (%s/0x%04x/%s) - %s\n", detail->seq,
|
||||
format_timestamp(detail->time), detail->class.members.locale,
|
||||
format_class(detail->class.members.class), detail->description);
|
||||
switch (detail->class.members.class) {
|
||||
case MFI_EVT_CLASS_DEBUG:
|
||||
case MFI_EVT_CLASS_PROGRESS:
|
||||
case MFI_EVT_CLASS_INFO:
|
||||
#ifndef MFI_DEBUG
|
||||
if (!bootverbose)
|
||||
return;
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
default:
|
||||
device_printf(sc->mfi_dev, "%d (%s/0x%04x/%s) - %s\n",
|
||||
detail->seq, format_timestamp(detail->time),
|
||||
detail->class.members.locale,
|
||||
format_class(detail->class.members.class),
|
||||
detail->description);
|
||||
}
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user