From owner-cvs-src-old@FreeBSD.ORG Thu Sep 9 13:17:50 2010 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 928A310656DD for ; Thu, 9 Sep 2010 13:17:50 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7F5B28FC1B for ; Thu, 9 Sep 2010 13:17:50 +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 o89DHo8r078901 for ; Thu, 9 Sep 2010 13:17:50 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o89DHojS078900 for cvs-src-old@freebsd.org; Thu, 9 Sep 2010 13:17:50 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201009091317.o89DHojS078900@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Thu, 9 Sep 2010 13:17:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-all.h ata-lowlevel.c src/sys/dev/ata/chipsets ata-serverworks.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: Thu, 09 Sep 2010 13:17:50 -0000 nwhitehorn 2010-09-09 13:17:30 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.h ata-lowlevel.c sys/dev/ata/chipsets ata-serverworks.c Log: SVN rev 212359 on 2010-09-09 13:17:30Z by nwhitehorn Fix a problem where device detection would work unreliably on Serverworks K2 SATA controllers. The chip's status register must be read first, and as a long, for other registers to be correctly updated after a command, and this includes the command sequence in device detection as well as the previously handled case after interrupts. While here, clean up some previous hacks related to this controller. Reported by: many Reviewed by: mav MFC after: 3 weeks Revision Changes Path 1.157 +1 -0 src/sys/dev/ata/ata-all.h 1.89 +8 -2 src/sys/dev/ata/ata-lowlevel.c 1.16 +25 -18 src/sys/dev/ata/chipsets/ata-serverworks.c