From owner-freebsd-questions@FreeBSD.ORG Fri Jun 8 17:06:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE7101065673 for ; Fri, 8 Jun 2012 17:06:25 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id A17458FC0A for ; Fri, 8 Jun 2012 17:06:25 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with ESMTP id q58H58Xa009678 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 8 Jun 2012 12:06:24 -0500 Received: from [10.0.0.105] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.283.3; Fri, 8 Jun 2012 12:06:21 -0500 MIME-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> Date: Fri, 8 Jun 2012 10:06:14 -0700 Content-Transfer-Encoding: quoted-printable Message-ID: <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> References: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> To: Rick Miller X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7580, 1.0.260, 0.0.0000 definitions=2012-06-08_08:2012-05-21, 2012-06-08, 1970-01-01 signatures=0 Cc: FreeBSD Questions Subject: Re: How do I determine support for $xx? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jun 2012 17:06:25 -0000 On Jun 8, 2012, at 9:45 AM, Devin Teske wrote: > Hi Rick (!), >=20 > On Jun 8, 2012, at 8:07 AM, Rick Miller wrote: >=20 [snip] >>=20 >> I browsed the source and found many references to the BCM5719 and >> BCM5720. However, I am unfamiliar enough with driver programming in C >> to identify if a controller is fully supported. >>=20 >=20 [snip] > If you were running, say, 8.0-R, even if you have the bge(4) driver loade= d, you would see this in /var/run/dmesg.boot: >=20 > pciN: (vendor=3D0x1106, dev=3D0x165f) at X.Y >=20 Correction, (specific to BCM5720) you'd see: pciN: (vendor=3D0x14e4, dev=3D0x165f) at X.Y Which, btw, you can confirm to yourself by executing the following within 8= .3-R (with attached bge(4)): $ pciconf -lv | awk '/^bge/{print $1,$4}' bge0@pciN:A:B:C: chip=3D0x165f14e4 Otherwise, you can see an unknown (non-working bge(4)) Broadcom BCM5720 har= dware by executing (on 8.0-R for example): $ grep unk /var/run/dmesg.boot | grep 0x14e4 pciN: (vendor=3D0x14e4, dev=3D0x165f) at X.Y NOTE: On a system where all hardware is probed/attached, "grep unk /var/run= /dmesg.boot" should not produce any results. In this case, pciconf is your = tool for probing vendor/device IDs. > NOTE: Insert random numbers for "N", and "X.Y" >=20 > How you know that 8.3-R's bge(4) driver supports the BCM5720 is because t= his source file: >=20 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bgereg.h?annotat= e=3D1.83.2.35.2.1 >=20 > NOTE: I specifically pointed you at CVS instead of SVN so that you can se= e the version tagged for 8.3-R >=20 > Specifically, this line: >=20 > 2309: #define BCOM_DEVICEID_BCM5720 0x165F [snip] --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.