]> git.baikalelectronics.ru Git - kernel.git/commit
ieee1394/ohci1394: CycleTooLong interrupt management
authorBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:12:21 +0000 (18:12 -0400)
committerBen Collins <bcollins@ubuntu.com>
Mon, 12 Jun 2006 22:12:21 +0000 (18:12 -0400)
commit50a3e5fb4997150706c92b8a3900fbccdeeda681
tree336c32051f005771cbfad5501a5a73caa6493eb1
parent666dbbd106c570acd21d12d4d4d917cf4152412c
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