From owner-cvs-src-old@FreeBSD.ORG Tue Feb 17 04:08:20 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D34E1065697 for ; Tue, 17 Feb 2009 04:08:20 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A48C8FC20 for ; Tue, 17 Feb 2009 04:08:20 +0000 (UTC) (envelope-from sbruno@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1H48Kxe071937 for ; Tue, 17 Feb 2009 04:08:20 GMT (envelope-from sbruno@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1H48KB9071936 for cvs-src-old@freebsd.org; Tue, 17 Feb 2009 04:08:20 GMT (envelope-from sbruno@repoman.freebsd.org) Message-Id: <200902170408.n1H48KB9071936@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to sbruno@repoman.freebsd.org using -f From: Sean Bruno Date: Tue, 17 Feb 2009 04:08:08 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/firewire firewire.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2009 04:08:21 -0000 sbruno 2009-02-17 04:08:08 UTC FreeBSD src repository Modified files: sys/dev/firewire firewire.c Log: SVN rev 188704 on 2009-02-17 04:08:08Z by sbruno Synopsis: If speed of link between two devices is slower than the reported max speed of both endpoints, the current driver will fail and be unable to negotiate. Summary: Test negotiated speed by reading the CSRROM into a dummy variable. If that read fails, decrement our speed and retry. If all else fails, go to lowest speed possible(0). Report speed to the user. Add display of the Bus Info Block when debug.firewire_debug > 1 Support the Bus Info Block(1394a-2000) method of speed detection. I also should note that I am moving "hold_count" to 0 for future releases. This variable determines how many bus resets to "hold" a removed firewire device before deletion. I don't feel this is useful and will probably drop support for this sysctl in the future. Reviewed by: scottl(mentor) MFC after: 2 weeks Revision Changes Path 1.106 +55 -6 src/sys/dev/firewire/firewire.c