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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to