diff options
| author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-03-20 17:04:36 -0400 |
|---|---|---|
| committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-04-18 11:55:34 -0400 |
| commit | ad3c0fe8b8d1656a56ce2ef05ed5ccba790b4566 (patch) | |
| tree | 850c39f2da71be6ae9d6c3d5a08a67fbcded0c62 /drivers/firewire/Kconfig | |
| parent | 016bf3dfcf7c7fbad8f02e72b6e01d6773426f9d (diff) | |
firewire: debug interrupt events
This adds debug printks for asynchronous transmission and reception and
for self ID reception. They can be enabled at module load time, and at
runtime via /sys/module/firewire_ohci/parameters/debug.
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
Also added: Logging of interrupt event codes and of cancelled AT
packets.
The code now depends on a Kconfig variable. This makes it easier to
build firewire-ohci without the feature or to make it an option in the
future. The variable is currently hidden and always on.
This feature inflates firewire-ohci.ko by 7 kB = 27% on x86-64 and by
4 kB = 23% on i686.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/Kconfig')
| -rw-r--r-- | drivers/firewire/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/firewire/Kconfig b/drivers/firewire/Kconfig index 25bdc2dd9ce1..fb4d391810b6 100644 --- a/drivers/firewire/Kconfig +++ b/drivers/firewire/Kconfig | |||
| @@ -54,6 +54,11 @@ config FIREWIRE_OHCI | |||
| 54 | directive, use "install modulename /bin/true" for the modules to be | 54 | directive, use "install modulename /bin/true" for the modules to be |
| 55 | blacklisted. | 55 | blacklisted. |
| 56 | 56 | ||
| 57 | config FIREWIRE_OHCI_DEBUG | ||
| 58 | bool | ||
| 59 | depends on FIREWIRE_OHCI | ||
| 60 | default y | ||
| 61 | |||
| 57 | config FIREWIRE_SBP2 | 62 | config FIREWIRE_SBP2 |
| 58 | tristate "Support for storage devices (SBP-2 protocol driver)" | 63 | tristate "Support for storage devices (SBP-2 protocol driver)" |
| 59 | depends on FIREWIRE && SCSI | 64 | depends on FIREWIRE && SCSI |
