Date: Thu, 24 Oct 2002 01:11:15 -0500 (CDT) From: Mike Silbersack <silby@silby.com> To: Bruce Evans <bde@zeta.org.au> Cc: freebsd-net@FreeBSD.ORG, <jlemon@FreeBSD.ORG>, Harti Brandt <brandt@fokus.gmd.de> Subject: Re: MII problem, need more eyes Message-ID: <20021023210943.W4698-100000@patrocles.silby.com> In-Reply-To: <20021022174319.V13842-100000@gamplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Oct 2002, Bruce Evans wrote: > This return of 0 is apparently intentional. The comment before this > says: > > Here the "However" clause is not in RELENG_4. Returning 0 gets the > status updated. I think this is just too expensive to do every second. > Autonegotiation is only retried every 17 seconds (every 5 seconds in > RELENG_4). You're right, it looks like this is new functionality, not just code refactoring. I was hoping for a quick fix, and overlooked this. There are two things I think that I can do to reduce the amount of time taken up... #1, Don't do the status update every second, only have it run every 10 seconds or so. #2, Reduce the number of PHY operations. mii_phy_tick reads the status register, then nsphy_status rereads it basically immediately. I'll have to examine how the other phy drivers operate in this aspect. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021023210943.W4698-100000>