Skip to content

Commit

Permalink
rapidio/tsi721: add filtered debug output
Browse files Browse the repository at this point in the history
Replace "all-or-nothing" debug output with controlled debug output using
functional block masks.  This allows run time control of debug messages
through 'dbg_level' module parameter.

Signed-off-by: Alexandre Bounine <[email protected]>
Cc: Matt Porter <[email protected]>
Cc: Aurelien Jacquiot <[email protected]>
Cc: Andre van Herk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexandre Bounine authored and torvalds committed Mar 22, 2016
1 parent 1679e8d commit 72d8a0d
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 189 deletions.
9 changes: 9 additions & 0 deletions Documentation/rapidio/tsi721.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ For inbound messages this driver uses destination ID matching to forward message
into the corresponding message queue. Messaging callbacks are implemented to be
fully compatible with RIONET driver (Ethernet over RapidIO messaging services).

1. Module parameters:
- 'dbg_level' - This parameter allows to control amount of debug information
generated by this device driver. This parameter is formed by set of
This parameter can be changed bit masks that correspond to the specific
functional block.
For mask definitions see 'drivers/rapidio/devices/tsi721.h'
This parameter can be changed dynamically.
Use CONFIG_RAPIDIO_DEBUG=y to enable debug output at the top level.

II. Known problems

None.
Expand Down
Loading

0 comments on commit 72d8a0d

Please sign in to comment.