Support for Broadcom 5906M fast ethernet chip

Sepherosa Ziehau sepherosa at gmail.com
Mon Dec 10 17:50:36 PST 2007


On Dec 11, 2007 7:00 AM,  <elekktretterr at exemail.com.au> wrote:
> > On Dec 10, 2007 9:04 PM,  <elekktretterr at exemail.com.au> wrote:
> >> Hi Sephe,
> >> It still times out, but the error is slightly different. let you be the
> >> judge. dmesg attached.
> >
> > Are you sure the attached dmesg is from the new patch
> > (http://leaf.dragonflybsd.org/~sephe/bcm5906.diff3)?
> >
>
> Almost certain.

In your dmesg:
"bge0: PHY read timed out"

In the new patch, following line should be printed instead:
"bge0: PHY read timed out (phy %d, reg %d)"

>
> Tell me if im doing something wrong.
> 1) Reverse the patch
> 2) Apply new patch

I would just do:
make -j 3 quickkernel KERNCONF=FUJITSU && make installkernel KERNCONF=FUJITSU
and then reboot

If there are no other NICs using miibus and you don't have miibus in
kernel config, you could safely skip the installkernel and rebooting
steps, and do following instead:
kldunload if_bge
kldload your_objdir/usr/src/sys/FUJITSU/usr/src/sys/dev/netif/mii_layer/miibus.ko
kldload your_objdir/usr/src/sys/FUJITSU/usr/src/sys/dev/netif/bge/if_bge.ko

Best Regards,
sephe

> 3) rm -rf compile/FUJITSU
> 4) config FUJITSU
> 5) make clean
> 6) make depend && make && make install

-- 
Live Free or Die





More information about the Kernel mailing list