Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Oct 2011 10:51:37 -0700
From:      YongHyeon PYUN <pyunyh@gmail.com>
To:        Sean Bruno <seanbru@yahoo-inc.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, David Christensen <davidch@broadcom.com>, Pyun YongHyeon <yongari@freebsd.org>
Subject:   Re: bce(4) with IPMI [puzzling and puzzling]
Message-ID:  <20111007175137.GA11808@michelle.cdnetworks.com>
In-Reply-To: <1318004610.27029.1.camel@hitfishpass-lx.corp.yahoo.com>
References:  <1317315666.2777.8.camel@hitfishpass-lx.corp.yahoo.com> <1317952651.9892.19.camel@hitfishpass-lx.corp.yahoo.com> <1318004610.27029.1.camel@hitfishpass-lx.corp.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 07, 2011 at 09:23:30AM -0700, Sean Bruno wrote:
> 
> > <pciconf>
> > bce0@pci0:1:0:0:        class=0x020000 card=0x028c1028 chip=0x163b14e4
> > rev=0x20 hdr=0x00
> >     vendor     = 'Broadcom Corporation'
> >     class      = network
> >     subclass   = ethernet
> > bce1@pci0:1:0:1:        class=0x020000 card=0x028c1028 chip=0x163b14e4
> > rev=0x20 hdr=0x00
> >     vendor     = 'Broadcom Corporation'
> >     class      = network
> >     subclass   = ethernet
> > </pciconf>
> > 
> > 
> > <dmesg>
> > bce0: <Broadcom NetXtreme II BCM5716 1000Base-T (C0)> mem
> > 0xd8000000-0xd9ffffff irq 36 at device 0.0 on pci1
> > bce0: Reserved 0x2000000 bytes for rid 0x10 type 3 at 0xd8000000
> > bce0: attempting to allocate 1 MSI vectors (16 supported)
> > bce0: using IRQ 256 for MSI
> > miibus0: <MII bus> on bce0
> > bce0: bpf attached
> > bce0: Ethernet address: a4:ba:db:2b:6d:58
> > bce0: [MPSAFE]
> > bce0: [ITHREAD]
> > bce0: ASIC (0x57092008); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.2.2);
> > Flags (MSI|MFW); MFW (NCSI 2.0.8)
> > </dmesg>
> > 
> > _______________________________________________
> 
> so, I cracked open my R410 this morning to see what the Ethernet chipset
> had for a indentification mark.  It is definitely stamped as a BCM5716,
> so I'm confused.
> 
> bce(4) has code to handle the 5716 chipset, but its never being executed
> AFAIK.  What's going on here?
> 

I guess BCE_CHIP_NUM() returns 0x5709 for 5709 and 5716
controllers. I don't know why bce(4) explicitly checks 5716 from
the BCE_MISC_ID register. Public data sheet indicates CHIP_NUM bits
have 0x5909 for 5716(NetXtremeII-PG203-R pp229).
To me 5716 is virtually the same as 5709 except for not supporting
TOE and iSCSI offloading.

> Sean
> 



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