ieee1394/ohci1394: CycleTooLong interrupt management
commit57fdb58fa5a140bdd52cf4c4ffc30df73676f0a5
authorBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:12:21 +0000 (12 18:12 -0400)
committerBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:12:21 +0000 (12 18:12 -0400)
tree336c32051f005771cbfad5501a5a73caa6493eb1
parent7597028a833b6bfafae0a8fbc18992a278467adf
ieee1394/ohci1394: CycleTooLong interrupt management

This patch modifies the ohci1394.c file to enable and manage the "cycle too
long" interrupt.
If this interrupt occurs, the "LinkControl.CycleMaster" bit of the host
controller is reseted. This implies, that the host controller does not send
"cycle start" packet anymore freezing then the isochronous communication.
The management of the interrupt added by the patch is that when the interrupt
occurs, the OHCI irq handler prints a kernel log warning and then sets the
"LinkControl.CycleMaster" bit again resuming the isochronous communication.

Signed-off-by: Jean-Baptiste Mur <jeanbaptiste@maunakeatech.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
drivers/ieee1394/ohci1394.c