Re: 5.2-RC oerrs and collisions on dc0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 4 Jan 2004 00:59:27 -0800 (PST)
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.
Received on Sat Jan 03 2004 - 23:59:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC