re(4) link goes down when manually setting media type

Pyun YongHyeon pyunyh at gmail.com
Sat Aug 12 01:40:56 UTC 2006


On Thu, Aug 10, 2006 at 02:12:16PM +0200, Jelte Jansen wrote:
 > 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.
 > 

FYI: Patch committed to HEAD rgephy.c, rev. 1.11.

-- 
Regards,
Pyun YongHyeon


More information about the freebsd-current mailing list