Re: ieee1394 broken?

Tachino Nobuhiro
2001-08-31T07:26:57Z

Hello,

At Thu, 30 Aug 2001 23:21:43 +0200,
Hans-Christian Armingeon wrote:
>
> Hi,
> my box (via kt133 thunderbird 1g 256mb 2.4.9-ac3) hangs completely up, when I
> insert ohci1394.
>
> Any suggestions?

The same hang up occurred on my box too. Following patch works for me.

diff -u -r linux.org/drivers/ieee1394/ohci1394.c linux/drivers/ieee1394/ohci1394.c
--- linux.org/drivers/ieee1394/ohci1394.c Fri Aug 31 15:46:56 2001
+++ linux/drivers/ieee1394/ohci1394.c Fri Aug 31 15:48:49 2001
@@ -488,6 +488,12 @@
mdelay(2);
}

+ /*
+ * Delay after setting LPS in order to make sure link/phy
+ * communication is established
+ */
+ mdelay(10);
+
/* Set the bus number */
reg_write(ohci, OHCI1394_NodeID, 0x0000ffc0);