Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Apr 2008 09:44:40 -0700
From:      "David Christensen" <davidch@broadcom.com>
To:        "Josep Pujadas i Jubany" <josep@bellera.cat>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   RE: Only 100baseTX with bge BCM5722
Message-ID:  <5D267A3F22FD854F8F48B3D2B523819324EF63460F@IRVEXCHCCR01.corp.ad.broadcom.com>
In-Reply-To: <20080402094618.M73854@bellera.cat>
References:  <20080401093503.M45196@bellera.cat> <5D267A3F22FD854F8F48B3D2B523819324EF6342B6@IRVEXCHCCR01.corp.ad.broadcom.com> <20080401193322.M70732@bellera.cat> <5D267A3F22FD854F8F48B3D2B523819324EF6344D0@IRVEXCHCCR01.corp.ad.broadcom.com> <20080402094618.M73854@bellera.cat>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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=3DRELENG70#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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D267A3F22FD854F8F48B3D2B523819324EF63460F>