From owner-freebsd-stable@FreeBSD.ORG Tue Oct 17 00:41:43 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 5E5A416A403; Tue, 17 Oct 2006 00:41:43 +0000 (UTC) (envelope-from fbsdlist@stormbringer.clara.co.uk) Received: from relay3.mail.uk.clara.net (relay3.mail.uk.clara.net [80.168.70.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id C041143D55; Tue, 17 Oct 2006 00:41:42 +0000 (GMT) (envelope-from fbsdlist@stormbringer.clara.co.uk) Received: from strategydsl.claranet.co.uk ([80.168.135.171] helo=storm.lan) by relay3.mail.uk.clara.net with esmtp (Exim 4.46) id 1GZd1Y-0002gg-FD; Tue, 17 Oct 2006 01:41:40 +0100 From: Dan To: freebsd-stable@freebsd.org Date: Tue, 17 Oct 2006 01:41:41 +0100 User-Agent: KMail/1.9.1 References: <4533BE2E.4080005@icyb.net.ua> In-Reply-To: <4533BE2E.4080005@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610170141.41902.fbsdlist@stormbringer.clara.co.uk> Cc: Andriy Gapon , freebsd-hardware@freebsd.org 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: Tue, 17 Oct 2006 00:41:43 -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 (root)# uname -a FreeBSD storm 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon May 22 23:55:36 BST 2006 root@storm:/usr/obj/usr/src/sys/GENERIC i386 (root)# pciconf -lv | fgrep 0x0c0500 -A 4 none1@pci0:1:1: class=0x0c0500 card=0x0c111458 chip=0x005210de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce4 SMBus' class = serial bus subclass = SMBus > 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 (root)# pciconf -r pci0:1:1 0x20 00001c01 (root)# pciconf -r pci0:1:1 0x24 00001c41 (root)# pciconf -r pci0:1:1 0x50 00001c01 (root)# pciconf -r pci0:1:1 0x54 00001c41