RE: Only 100baseTX with bge BCM5722

From: David Christensen <davidch_at_broadcom.com>
Date: Wed, 2 Apr 2008 09:44:40 -0700
> > > > What's the dmesg output?  Is it using ukphy or brgphy?
> > > >
> > >
> > > Partial dmesg, concerning the NIC:
> > >
> > > pcib4: <ACPI PCI-PCI bridge> irq 17 at device 28.5 on pci0
> > > pci14: <ACPI PCI bus> on pcib4
> > > bge0: <HP NC105i PCIe Gigabit Server Adapter, ASIC rev.
> 0xa200> mem
> > > 0xed000000-0xed00ffff irq 17 at device 0.0 on pci14
> > > miibus0: <MII bus> on bge0
> > > ukphy0: <Generic IEEE 802.3u media interface> 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/mii/miidevs?v=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
>

Great! Looks like we've gained another expert.  If you want to send
me the diffs I'll check them out and commit them to the RELENG_7 branch.

Dave
Received on Wed Apr 02 2008 - 14:44:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:29 UTC