Skip to content
  • Stefan Richter's avatar
    firewire: fw-ohci: conditionally log busReset interrupts · a007bb85
    Stefan Richter authored
    
    
    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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    Signed-off-by: default avatarJarod Wilson <jwilson@redhat.com>
    a007bb85