From owner-freebsd-current@FreeBSD.ORG Thu Aug 10 12:12:37 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DCF216A4E5 for ; Thu, 10 Aug 2006 12:12:37 +0000 (UTC) (envelope-from jelte@NLnetLabs.nl) Received: from open.nlnetlabs.nl (open.nlnetlabs.nl [213.154.224.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B33C43D5C for ; Thu, 10 Aug 2006 12:12:26 +0000 (GMT) (envelope-from jelte@NLnetLabs.nl) Received: from [213.154.224.45] (fable.nlnetlabs.nl [213.154.224.45]) by open.nlnetlabs.nl (8.13.4/8.13.4) with ESMTP id k7ACCLak003306; Thu, 10 Aug 2006 14:12:21 +0200 (CEST) (envelope-from jelte@NLnetLabs.nl) Message-ID: <44DB22A0.7030207@NLnetLabs.nl> Date: Thu, 10 Aug 2006 14:12:16 +0200 From: Jelte Jansen User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: pyunyh@gmail.com References: <44D84620.9020800@NLnetLabs.nl> <20060810093018.GB17452@cdnetworks.co.kr> In-Reply-To: <20060810093018.GB17452@cdnetworks.co.kr> X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig61480E23B5B8D72DB65BEABB" X-Spam-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on open.nlnetlabs.nl Cc: freebsd-current@freebsd.org Subject: Re: re(4) link goes down when manually setting media type X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Aug 2006 12:12:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig61480E23B5B8D72DB65BEABB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 go= es > > down, and stays down until i set it to autoselect again. It does see= m to > > work when setting it to 10baset/utp. > >=20 >=20 > 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? >=20 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 --------------enig61480E23B5B8D72DB65BEABB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE2yKg4nZCKsdOncURAolJAJ4nODJAmY4eAGzQmGNMUd2kgQDM3gCeP2ez O1REpSU2vldeAustw1Pm1iw= =WToL -----END PGP SIGNATURE----- --------------enig61480E23B5B8D72DB65BEABB--