From owner-cvs-src@FreeBSD.ORG Thu Oct 27 16:32:40 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B512A16A41F; Thu, 27 Oct 2005 16:32:40 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7182543D45; Thu, 27 Oct 2005 16:32:40 +0000 (GMT) (envelope-from sos@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j9RGWeEW001006; Thu, 27 Oct 2005 16:32:40 GMT (envelope-from sos@repoman.freebsd.org) Received: (from sos@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9RGWedG001005; Thu, 27 Oct 2005 16:32:40 GMT (envelope-from sos) Message-Id: <200510271632.j9RGWedG001005@repoman.freebsd.org> From: Søren Schmidt Date: Thu, 27 Oct 2005 16:32:40 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ata ata-all.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 16:32:40 -0000 sos 2005-10-27 16:32:40 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.c Log: Enclose the delayed attach in Giant so we dont loose the race with other drivers trying to attach ATA devices like pccard. Dont clear the delayed flag before we are acutally finished. Spotted by: imp Revision Changes Path 1.258 +10 -6 src/sys/dev/ata/ata-all.c