From owner-freebsd-stable@FreeBSD.ORG Mon Oct 26 14:18:37 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFA18106566C; Mon, 26 Oct 2009 14:18:37 +0000 (UTC) (envelope-from caelian@gmail.com) Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by mx1.freebsd.org (Postfix) with ESMTP id 034128FC0C; Mon, 26 Oct 2009 14:18:36 +0000 (UTC) Received: by ewy5 with SMTP id 5so7328502ewy.36 for ; Mon, 26 Oct 2009 07:18:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=s7CuXtAViH8/zd7q9viw0dmeUggNfOFnmE33U+4RhVE=; b=qLGbLgjnxVMb9uFcsZ7IGVyHuDrCaPL+yjD0SW9jIt9mU8NShZA6RsTpcDtDWJCqOu Jx2aZwUUTQDD7ZLhxqNftdmoDjVCPMTPnaMrd1fX1ceru4ieOIwcPtZ/xJZEoJpXMmrB tgG+qK2sKWWmRdPqE6Gpms+Bit/SC1HAgoXiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=TJ3/Q6SBwBCn+IIyVndNc3w42DvCyIAOecAZKKB552l5j06aforApHA3J6kK+1kDKL Ab1fTAnw0r+cRiqglggTYEo8S4bExZYZCcsu3Gmnze3mXxI1x/DH67jVEQkWWP6bjaKk MqPTXbJke+1RIoMlTrRe/F1CF7V9D3qSB8w7k= MIME-Version: 1.0 Received: by 10.211.146.5 with SMTP id y5mr2225643ebn.41.1256566716074; Mon, 26 Oct 2009 07:18:36 -0700 (PDT) In-Reply-To: <4AE3A001.8000205@FreeBSD.org> References: <4AE3A001.8000205@FreeBSD.org> Date: Mon, 26 Oct 2009 15:18:36 +0100 Message-ID: From: Pascal Hofstee To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: icegloom dem , FreeBSD-Current , FreeBSD Stable , freebsd-amd64@freebsd.org Subject: Re: MCP55 SATA solution to test X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2009 14:18:38 -0000 2009/10/25 Alexander Motin : > Hi. > > Thanks to one man who provided access to his machine, I seem to found > how to fix device detection on nVidia MCP55 SATA controller on amd64 > 8.0. Looks like this controller need some time (very short) to enable > BAR(5) memory access after PCI configuration register written. Probably > some changes in PCI code exposed this issue. Also it explains why > setting hw.pci.mcfg to 0 helps. > > Attached patch solves problem for that machine. Testers are welcome. Confirmed this also fixes the SATA detection on my MSI K9N Neo on 9.0-CURRENT. Please commit :)