Subject: Re: [followup] fxp0 issues
To: Kimi Ostro <kimimeister@gmail.com>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 11/16/2006 13:44:01
On Nov 16,  5:04pm, kimimeister@gmail.com ("Kimi Ostro") wrote:
-- Subject: Re: [followup] fxp0 issues

| 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.

Have you tried commenting out the code?

christos