From owner-freebsd-firewire Tue Feb 19 20:36: 8 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mail.sat.t.u-tokyo.ac.jp (nat.keisu.t.u-tokyo.ac.jp [133.11.68.2]) by hub.freebsd.org (Postfix) with ESMTP id E22FA37B402 for ; Tue, 19 Feb 2002 20:36:04 -0800 (PST) Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [10.6.1.30]) by mail.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id AAC542DABB; Wed, 20 Feb 2002 13:36:03 +0900 (JST) Date: Wed, 20 Feb 2002 13:36:03 +0900 Message-ID: From: Hidetoshi Shimokawa To: Alan Clegg Cc: freebsd-firewire@freebsd.org Subject: Re: Status of adding Firewire support to kernel? In-Reply-To: <20020219210222.A23686@shell.wetworks.org> References: <5.1.0.14.2.20020218111417.023cb090@pop.earthlink.net> <20020219210222.A23686@shell.wetworks.org> User-Agent: Wanderlust/2.4.1 (Stand By Me) REMI/1.14.3 (Matsudai) FLIM/1.13.2 (Kasanui) APEL/10.3 MULE XEmacs/21.2 (beta19) (Shinjuku) (i386-unknown-freebsd3.2) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Tue, 19 Feb 2002 21:02:22 -0500, Alan Clegg wrote: > > [1 ] > Unless the network is lying to me again, Hidetoshi Shimokawa said: > > > I don't think it's production level. But it's worth to try. > > I believe most of the OHCI chips are supported by the fwohci code, > > SBP devices which has only one LUN should be detected correctly by sbp > > code. You may need some quirks in CAM layer. > > > > Give me a feedback. > > Got it working with my Sony Vaio PCG-C1VN with the following: > > fwohci0: mem 0xfc018000-0xfc01bfff,0xfc01d000-0xfc01d7ff irq 9 at device 8.0 on pci0 > fwohci0: PCI bus latency was changing to 250. > cache size 8. > fwohciinit -1 > fwohci0: No. of Isochronous channel is 4. > fwohci0: cannot read phy ^^^^^^^^^^^^^^^^ > fwohci0: Link 1394 only S100, 0 ports. ^^^^^^^^^ This should be a problem. Could you increase time of DELAY() in fwohci.c and try again? /* * probe PHY parameters * 0. to prove PHY version, whether compliance of 1394a. * 1. to probe maximum speed supported by the PHY and * number of port supported by core-logic. * It is not actually available port on your PC . */ /* Wait a while */ DELAY(100); ^^^^^^^^^^^ reg = fwphy_rddata(sc, FW_PHY_SPD_REG); /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message