Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 12:09:32 -0500
From:      Gary Palmer <gpalmer@freebsd.org>
To:        Richard Kuhns <rjk@wintek.com>
Cc:        Alfred Perlstein <bright@mu.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: bge on the new Mac Mini
Message-ID:  <20121116170932.GD24320@in-addr.com>
In-Reply-To: <50A66965.20109@wintek.com>
References:  <50A65BFC.7030406@wintek.com> <50A65EB5.7040004@mu.org> <50A66198.6060108@wintek.com> <20121116162045.GC24320@in-addr.com> <50A66965.20109@wintek.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 16, 2012 at 11:27:17AM -0500, Richard Kuhns wrote:
> On 11/16/12 11:20, Gary Palmer wrote:
> > On Fri, Nov 16, 2012 at 10:54:00AM -0500, Richard Kuhns wrote:
> >> On 11/16/12 10:41, Alfred Perlstein wrote:
> >>> Often that is all that is needed.  It's worth a shot and reporting back.
> >>>
> >>> Do you know how to update the table in the driver, rebuild/install 
> >>> kernel and check?
> >>>
> >>> -Alfred
> >>>
> >>
> >> I'm afraid not. I grepped for the hex value reported on the one that works
> >> (chip=0x16b414e4), but I couldn't find it in its entirety, 16b4, or 14e4. So I
> >> don't know what to add :-(
> >>
> >> I don't have any problem with rebuilding and installing a new kernel, though.
> > 
> > 14e4 is the ID for Broadcom
> > 16b4 is the ID for BCM57765, a NetXtreme Desktop/Mobile chip
> > 
> > http://www.broadcom.com/support/ethernet_nic/determine_driver.php has a list
> > of the BCM PCI ID values
> > 
> > There is a (frequently incomplete) database of user reported PCI values at
> > http://www.pcidatabase.com.  It has the BCM ID (14e4), but not your chip
> > 
> > Linux uses the tg3 driver for that chipset apparently, but I think thats
> > a general dumping ground for a lot of Broadcom products.  Not sure what the
> > appropriate FreeBSD driver to add the ID code to would be.
> > 
> > Regards,
> > 
> > Gary
> > 
> 
> Sorry, I should have been more clear. I grepped for those values in
> /usr/src/sys/dev/bge/*, since that's the driver that's used on the older minis.
> I assume that's where the table is that Alfred mentioned; I just don't know what
> to add to it.
> 

The probe table appears to be bge_devs in if_bge.c.  The values there are
#define'd in if_bgereg.h, but for a quick hack you just need to add the value
to the table

Gary



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