re(4) link goes down when manually setting media type
Jelte Jansen
jelte at NLnetLabs.nl
Thu Aug 10 12:12:37 UTC 2006
Pyun YongHyeon wrote:
> > although with apparently random performance problems. When i try to set
> > it to a fixed media type (both 100baseTX and 1000baseTX) the link goes
> > down, and stays down until i set it to autoselect again. It does seem to
> > work when setting it to 10baset/utp.
> >
>
> Due to the poor PHY documentation from RealTek I can't sure but
> I guess the RealTek PHY needs to set RGEPHY_BMCR_AUTOEN bit of
> RGEPHY_MII_BMCR register and proper ANAR register setting for
> manual media type selection.
> How about attached patch?
>
This patch seems to work. I can set the media type now, and will be
running my performance tests once the other computers have been updated.
Thanks :)
Jelte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060810/1fcb1a83/signature.pgp
More information about the freebsd-current
mailing list