Subject: Re: [followup] fxp0 issues
To: Christos Zoulas <christos@zoulas.com>
From: Kimi Ostro <kimimeister@gmail.com>
List: port-i386
Date: 11/16/2006 17:04:22
Hi,
On 16/11/06, Christos Zoulas <christos@zoulas.com> wrote:
>
> That is a good idea! Go for it!
>
> christos
>
On line 155 of:
src/sys/dev/mii/inphy.c
sc->mii_anegticks = 5;
from my understanding it supposed to keep checkings inphy every five
second? I looked in src/sys/dev/mii/mii_physubr.c and lines 309-314
read like this:
/*
* Only retry autonegotiation every N seconds.
*/
KASSERT(sc->mii_anegticks != 0);
if (++sc->mii_ticks != sc->mii_anegticks)
return (EJUSTRETURN);
so I guess it would be no harms??
I compared similar file to OpenBSD and they don't have that in their
version of inphy.c and inphy works fine with auto negotiation.
--
Kimi