From owner-cvs-src-old@FreeBSD.ORG Sat Feb 21 22:57:51 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 98F781065748 for ; Sat, 21 Feb 2009 22:57:51 +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 84D678FC12 for ; Sat, 21 Feb 2009 22:57:51 +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 n1LMvpWs096201 for ; Sat, 21 Feb 2009 22:57:51 GMT (envelope-from mav@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1LMvpqs096200 for cvs-src-old@freebsd.org; Sat, 21 Feb 2009 22:57:51 GMT (envelope-from mav@repoman.freebsd.org) Message-Id: <200902212257.n1LMvpqs096200@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to mav@repoman.freebsd.org using -f From: Alexander Motin Date: Sat, 21 Feb 2009 22:57:26 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ata ata-all.c ata-all.h ata-pci.h ata-sata.c src/sys/dev/ata/chipsets ata-promise.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: Sat, 21 Feb 2009 22:57:52 -0000 mav 2009-02-21 22:57:26 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.c ata-all.h ata-pci.h ata-sata.c sys/dev/ata/chipsets ata-promise.c Log: SVN rev 188903 on 2009-02-21 22:57:26Z by mav Improve ata_reinit(): - protect againtst recursions, - add new devices detection using ata_identify(). Improve ata_identify(): - do not add duplicate device if device already exist. Rework SATA hot-plug events handling. Instead of unsafe duplicate implementation use common ata_reinit() to handle all state changes. All together this gives quite stable and robust cold- and hot-plug operation, invariant to false, lost and duplicate events. Revision Changes Path 1.297 +37 -4 src/sys/dev/ata/ata-all.c 1.139 +1 -0 src/sys/dev/ata/ata-all.h 1.103 +0 -10 src/sys/dev/ata/ata-pci.h 1.2 +6 -56 src/sys/dev/ata/ata-sata.c 1.4 +4 -19 src/sys/dev/ata/chipsets/ata-promise.c