From owner-cvs-src-old@FreeBSD.ORG Fri Jun 10 08:32:47 2011 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 A18D1106566B for ; Fri, 10 Jun 2011 08:32:47 +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 909C18FC18 for ; Fri, 10 Jun 2011 08:32:47 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p5A8Wlae058641 for ; Fri, 10 Jun 2011 08:32:47 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p5A8WlqD058640 for cvs-src-old@freebsd.org; Fri, 10 Jun 2011 08:32:47 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <201106100832.p5A8WlqD058640@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Fri, 10 Jun 2011 08:32:33 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/dev/ata/chipsets ata-intel.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: Fri, 10 Jun 2011 08:32:47 -0000 mav 2011-06-10 08:32:33 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/ata/chipsets ata-intel.c Log: SVN rev 222915 on 2011-06-10 08:32:33Z by mav MFC r220929: According to ATA specifications, when ATAPI master is the only device, it should respond with all zeroes to any access to slave registers. Test with PATA devices confirmed such behavior. Unluckily, Intel SATA controllers in legacy emulation mode behave differently, not making any difference between ATA and ATAPI devices. It causes false positive slave device detection and, as result, command timeouts. To workaround this problem, mask result of legacy-emulated soft-reset with the device presence information received from the SATA-specific registers. Revision Changes Path 1.7.2.19 +21 -11 src/sys/dev/ata/chipsets/ata-intel.c