]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
firewire: fw-ohci: conditionally log busReset interrupts
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 7 Apr 2008 20:33:35 +0000 (22:33 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 18 Apr 2008 15:55:35 +0000 (17:55 +0200)
commita007bb857e0b26f5d8b73c2ff90782d9c0972620
tree118f54e70b99dd1315cce57796f7d0a7bbb9c3df
parent76f73ca1b291a8d014ff0d2d802c817404dd9887
firewire: fw-ohci: conditionally log busReset interrupts

Add a debug option to watch bus reset interrupt events.  Half of this
patch is taken from Jarod Wilson's first version of the JMicron fix.

BusReset interrupts are only generated if the respective module
parameter flag was set before the controller is being initialized.
Else we keep this event masked to reduce IRQ load in normal operation
and to avoid potential problems with buggy chips.

Note, this is unlike the other IRQ events whose logging can be enabled
any time after chip initialization.  This and the influence on what
interrupts the chip generates is why I added an extra flag for it.

Also, reorder the debug parameter flags according to their perceived
usefulness.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Jarod Wilson <jwilson@redhat.com>
drivers/firewire/fw-ohci.c