On Tue, 1 Apr 2008 18:30:34 -0700, David Christensen wrote
> > >
> > > What's the dmesg output? Is it using ukphy or brgphy?
> > >

> >
> > Partial dmesg, concerning the NIC:
> >
> > pcib4: irq 17 at device 28.5 on pci0
> > pci14: on pcib4
> > bge0: mem
> > 0xed000000-0xed00ffff irq 17 at device 0.0 on pci14
> > miibus0: on bge0
> > ukphy0: PHY 1 on miibus0
> > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> > 1000baseT-FDX, auto
> > bge0: Ethernet address: XXXXXXXXXXXXXXXXXXXXX
> > bge0: [ITHREAD]
> >
> > bge0: link state changed to UP
> >
> > Must I try 1000baseT-FDX instead than 1000baseTX in my ifconfig line?

>
> The 5722 PHY ID is available in -HEAD (see
> http://fxr.watson.org/fxr/source/dev/mii/miidevs#L139)
> but isn't present in RELENG_7_0 (see
> http://fxr.watson.org/fxr/source/dev...=RELENG70#L115).
>
> Look at the diffs between sys/dev/mii/miidevs and sys/dev/mii/brgphy
> between HEAD and RELENG_7_0 and pull in the changes for the 5722 and
> build them into your kernel. If successful you should see brgphy0
> and not ukphy0.
>
> Dave
> _______________________________________________


Dave,

Many thanks for your help! I'm working at 1 Gigabit! I'm very happy, it is
my first driver modification using FreeBSD!

I had to modify also /usr/src/sys/dev/mii/brgphy.c

The conclusion is if using FreeBSD 7.0, BCM5722 must be included in the
following source files:

/usr/src/sys/dev/bge/if_bge.c
/usr/src/sys/dev/bge/if_bgereg.h
/usr/src/sys/dev/mii/miidevs
/usr/src/sys/dev/mii/brgphy.c

Regards,

Josep Pujadas

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"