From owner-freebsd-hardware@FreeBSD.ORG Mon Oct 16 18:32:12 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F4CB16A4F0; Mon, 16 Oct 2006 18:32:12 +0000 (UTC) (envelope-from stefan.lambrev@sun-fish.com) Received: from sun-fish.com (blah.sun-fish.com [217.18.249.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB88A43DF4; Mon, 16 Oct 2006 18:31:32 +0000 (GMT) (envelope-from stefan.lambrev@sun-fish.com) Received: from sun-fish.com (localhost.cmotd.com [127.0.0.1]) by sun-fish.com (Postfix) with ESMTP id 0CC0E38575; Mon, 16 Oct 2006 20:31:29 +0200 (CEST) Received: from [192.168.25.18] (unknown [192.168.25.18]) by sun-fish.com (Postfix) with ESMTP id B16623855A; Mon, 16 Oct 2006 20:31:28 +0200 (CEST) Message-ID: <4533D000.3020902@sun-fish.com> Date: Mon, 16 Oct 2006 21:31:28 +0300 From: Cheffo User-Agent: Thunderbird 1.5.0.7 (X11/20060915) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4533BE2E.4080005@icyb.net.ua> In-Reply-To: <4533BE2E.4080005@icyb.net.ua> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV Cc: freebsd-hardware@freebsd.org Subject: Re: nfsmb survey X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2006 18:32:12 -0000 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. > > none1@pci0:1:1: class=0x0c0500 card=0x815a1043 chip=0x005210de rev=0xa2 hdr=0x00 pciconf -r pci0:1:1 0x20 00004c01 pciconf -r pci0:1:1 0x24 00004c41pciconf -r pci0:1:1 0x50 00004c01 pciconf -r pci0:1:1 0x54 00004c41 FreeBSD cheffo.freebsd-bg.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #10: Sun Oct 8 20:01:14 EEST 2006