From owner-freebsd-hardware@FreeBSD.ORG Tue Oct 24 12:27:28 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 8F7AD16A407; Tue, 24 Oct 2006 12:27:28 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmmtao02.cox.net (eastrmmtao02.cox.net [68.230.240.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1E7243D73; Tue, 24 Oct 2006 12:27:14 +0000 (GMT) (envelope-from conrads@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao02.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20061024122715.FGMP10599.eastrmmtao02.cox.net@eastrmimpo01.cox.net>; Tue, 24 Oct 2006 08:27:15 -0400 Received: from serene.no-ip.org ([72.200.30.62]) by eastrmimpo01.cox.net with bizsmtp id eCSW1V00R1LR1K40000000 Tue, 24 Oct 2006 08:26:48 -0400 Received: from serene.no-ip.org (localhost [127.0.0.1]) by serene.no-ip.org (8.13.8/8.13.8) with ESMTP id k9OCQTsn035456; Tue, 24 Oct 2006 07:26:45 -0500 (CDT) (envelope-from conrads@cox.net) Date: Tue, 24 Oct 2006 07:26:20 -0500 From: "Conrad J. Sabatier" To: Cheffo Message-ID: <20061024072620.69dac5ab@serene.no-ip.org> In-Reply-To: <4533D000.3020902@sun-fish.com> References: <4533BE2E.4080005@icyb.net.ua> <4533D000.3020902@sun-fish.com> Organization: A Rag-Tag Band of Drug-Crazed Hippies X-Mailer: Sylpheed-Claws 2.5.2 (GTK+ 2.10.6; amd64-unknown-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, 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: Tue, 24 Oct 2006 12:27:28 -0000 On Mon, 16 Oct 2006 21:31:28 +0300, Cheffo wrote: > 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 # pciconf -l | fgrep 0x0c0500 nfsmb0@pci0:1:1: class=0x0c0500 card=0x80c51043 chip=0x00d410de rev=0xa4 hdr=0x00 # pciconf -r pci0:1:1 0x20 00005001 # pciconf -r pci0:1:1 0x24 00005041 # pciconf -r pci0:1:1 0x50 00005001 # pciconf -r pci0:1:1 0x54 00005041 Thank you very much for your work on this! -- Conrad J. Sabatier -- "In Unix veritas"