From owner-cvs-src-old@FreeBSD.ORG Sun Mar 1 22:50:34 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 666391065780 for ; Sun, 1 Mar 2009 22:50:34 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 538918FC0A for ; Sun, 1 Mar 2009 22:50:34 +0000 (UTC) (envelope-from mav@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 n21MoYAp004633 for ; Sun, 1 Mar 2009 22:50:34 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n21MoYSl004632 for cvs-src-old@freebsd.org; Sun, 1 Mar 2009 22:50:34 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200903012250.n21MoYSl004632@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sun, 1 Mar 2009 22:50:14 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata/chipsets ata-ahci.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: Sun, 01 Mar 2009 22:50:34 -0000 mav 2009-03-01 22:50:14 UTC FreeBSD src repository Modified files: sys/dev/ata/chipsets ata-ahci.c Log: SVN rev 189256 on 2009-03-01 22:50:14Z by mav Give controller a chance to issue Soft Reset clear command before checking ready status. Most of controllers managed to issue coommand and set BUSY bit almost simultaneously, before we will read it, but at least JMicron JMB363 don't. Ignore timeout errors to keep old behavior when error there was impossible. For me this fixes timeout errors on the first command after channel attach or reinit. Boot in my case is not affected, as there is much time passing between reset and next command giving reset time to complete. Revision Changes Path 1.18 +1 -2 src/sys/dev/ata/chipsets/ata-ahci.c