Date: Fri, 8 Jun 2012 10:06:14 -0700 From: Devin Teske <devin.teske@fisglobal.com> To: Rick Miller <vmiller@hostileadmin.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How do I determine support for $xx? Message-ID: <1FCB8643-87F8-4B89-A5DC-1082B20F8682@fisglobal.com> In-Reply-To: <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com> References: <CAHzLAVHJL-%2B5Aofcf%2BG8p19ZQX0s5QA=M4t5D7Hz%2B-Fwuoqkgg@mail.gmail.com> <7BDA2790-A852-4BA1-B6D3-BCA3C465A341@fisglobal.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <unknown card> (vendor=3D0x1106, dev=3D0x165f) at X.Y
>=20
Correction, (specific to BCM5720) you'd see:
pciN: <unknown card> (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: <unknown card> (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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1FCB8643-87F8-4B89-A5DC-1082B20F8682>
