From owner-freebsd-stable@FreeBSD.ORG Wed Oct 18 15:22:07 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D0916A407 for ; Wed, 18 Oct 2006 15:22:06 +0000 (UTC) (envelope-from ianjhart@ntlworld.com) Received: from mtaout02-winn.ispmail.ntl.com (mtaout02-winn.ispmail.ntl.com [81.103.221.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2EBA43D46 for ; Wed, 18 Oct 2006 15:22:05 +0000 (GMT) (envelope-from ianjhart@ntlworld.com) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20061018152200.LCEH27023.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Wed, 18 Oct 2006 16:22:00 +0100 Received: from cpc1-cove3-0-0-cust839.brhm.cable.ntl.com ([86.20.31.72]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20061018152200.YMCM23938.aamtaout02-winn.ispmail.ntl.com@cpc1-cove3-0-0-cust839.brhm.cable.ntl.com> for ; Wed, 18 Oct 2006 16:22:00 +0100 Received: from gamma.private.lan (gamma.private.lan [192.168.0.12]) by cpc1-cove3-0-0-cust839.brhm.cable.ntl.com (8.13.6/8.13.6) with ESMTP id k9IFLsoJ077064 for ; Wed, 18 Oct 2006 16:21:54 +0100 (BST) (envelope-from ianjhart@ntlworld.com) From: ian j hart To: freebsd-stable@freebsd.org Date: Wed, 18 Oct 2006 16:21:29 +0100 User-Agent: KMail/1.9.4 References: <4533BE2E.4080005@icyb.net.ua> In-Reply-To: <4533BE2E.4080005@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610181621.29511.ianjhart@ntlworld.com> Subject: Re: nfsmb survey 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: Wed, 18 Oct 2006 15:22:07 -0000 On Monday 16 October 2006 18:15, Andriy Gapon wrote: > In STABLE and upcoming 6.2 (and in CURRENT, of course) there is a new > SMB driver for NForce2/3/4 chipsets, nfsmb, developed by Ruslan Ermilov. > However, the driver doesn't currently work on all hardware that it is to > support. The problem is with choosing proper BAR registers, which, as it > seems, might be different for different chipsets/SMB controllers. > > If you have a system based on NForce2/3/4, could you please share the > following information: > > 1. find out pci handle of your SMB controller: > $ pciconf -l | fgrep 0x0c0500 > and also note chip field value, it should match 00(64|84|d4|e4|52)10de. > E.g.: > nfsmb0@pci0:1:1: class=0x0c0500 card=0x1c02147b chip=0x006410de > rev=0xa2 hdr=0x00 > > 2. read values in BARs 4 and 5 and also registers 0x50 and 0x54 like > follows: > $ pciconf -r pci0:1:1 0x20 > $ pciconf -r pci0:1:1 0x24 > $ pciconf -r pci0:1:1 0x50 > $ pciconf -r pci0:1:1 0x54 > using your pci handle instead of pci0:1:1, e.g.: > $ pciconf -r pci0:1:1 0x20 > 00000000 > $ pciconf -r pci0:1:1 0x24 > 00000000 > $ pciconf -r pci0:1:1 0x50 > 00001001 > $ pciconf -r pci0:1:1 0x54 > 00001041 > > 3. send chip id and register values here. > > Thank you very much in advance. Tyan Thunder K8WE (S2895) data# pciconf -lv | fgrep 0x0c0500 nfsmb0@pci0:1:1: class=0x0c0500 card=0x289510f1 chip=0x005210de rev=0xa2 hdr=0x00 data# pciconf -r pci0:1:1 0x20 0000a001 data# pciconf -r pci0:1:1 0x24 0000a041 data# pciconf -r pci0:1:1 0x50 0000a001 data# pciconf -r pci0:1:1 0x54 0000a041 -- ian j hart