Date: Sun, 4 Jan 2004 00:59:27 -0800 (PST) From: Don Lewis <truckman@FreeBSD.org> To: dejan.lesjak@ijs.si Cc: freebsd-current@FreeBSD.org Subject: Re: 5.2-RC oerrs and collisions on dc0 Message-ID: <200401040859.i048xR7E008500@gw.catspoiler.org> In-Reply-To: <200401040717.42334.dejan.lesjak@ijs.si>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4 Jan, Dejan Lesjak wrote: > On Sunday 04 of January 2004 06:33, Don Lewis wrote: >> On 4 Jan, Dejan Lesjak wrote: >> > Hello again, >> > With this line commented out, I still get both errors and collisions, >> > twice as much collisions as errors. On another occasion, I also added two >> > printf lines in here: >> > if (txstat & DC_TXSTAT_EXCESSCOLL) >> > ifp->if_collisions++; >> > printf("EXCESSCOLL\n"); >> > if (txstat & DC_TXSTAT_LATECOLL) >> > ifp->if_collisions++; >> > printf("LATECOLL\n"); >> > and I constantly get both of those, so this would be where counters go up >> > if this helps in any way. >> >> The driver might be less verbose if you added some braces here. > > Hm.. Yes I did that, however I was writing mail relying on memory which seems > to have failed me. When errors occur in full duplex mode, you might want to print the value of CSR_READ_4(sc, DC_NETCFG) to verify that the full duplex bit is actually set.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401040859.i048xR7E008500>