firewire: core: option to log bus reset initiation
authorAdam Goldman <adamg@pobox.com>
Sun, 24 Mar 2024 22:37:25 +0000 (07:37 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 6 May 2024 02:06:03 +0000 (11:06 +0900)
commitf83a052f9a0b62318d4f6e9bdddf9fc0103ac908
treea3fb357983f12894001956c9b79530cace2a7f1d
parentdd5a440a31fae6e459c0d6271dddd62825505361
firewire: core: option to log bus reset initiation

Add a debug parameter to firewire-core, analogous to the one in
firewire-ohci. When this is set to 1, log when we schedule, delay, or
initiate a bus reset. Since FireWire bus resets can originate from any
node on the bus, specific logging of the resets we initiate provides
additional insight.

Signed-off-by: Adam Goldman <adamg@pobox.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c
drivers/firewire/core-transaction.c
drivers/firewire/core.h