Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 22:25:03 +0300
From:      Andrew Degtiariov <ad@astral-on.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: nfsmb survey
Message-ID:  <20061016192503.GP91533@s-v-r.net>
In-Reply-To: <4533BE2E.4080005@icyb.net.ua>
References:  <4533BE2E.4080005@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 16, 2006 at 08:15:26PM +0300, Andriy Gapon wrote:
> $ 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.

$ pciconf -l | fgrep 0x0c0500
none1@pci0:1:1: class=0x0c0500 card=0x286510f1 chip=0x005210de rev=0xa2 hdr=0x00

# pciconf -r pci0:1:1 0x20
00001c01
# pciconf -r pci0:1:1 0x24
00001c41
# pciconf -r pci0:1:1 0x50
00001c01
# pciconf -r pci0:1:1 0x54
00001c41

-- 
Andrew Degtiariov
DA-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061016192503.GP91533>