Re: 5.2-RC oerrs and collisions on dc0

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 4 Jan 2004 12:41:14 -0800 (PST)
On  4 Jan, Dejan Lesjak wrote:
> On Sunday 04 of January 2004 09:59, Don Lewis wrote:
>> 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.
> 
> I put this right after
>                 if (txstat & DC_TXSTAT_ERRSUM) {
>                         ifp->if_oerrors++;
> 
> it gives me 0x338c2203 and DC_NETCFG_FULLDUPLEX is 0x00000200, so as I 
> understand full-duplex is set. Also none of previous two suggestions made 
> difference. I also found this documentation:
> ftp://download.intel.com/design/network/manuals/27807401.pdf
> if it helps.

Interesting, this card appears to use the PCS interface instead of MII
(bit 23 is set).  Also bit 28 is set.  The 21143 documentation says this
is unused, but my copy of the 21140A documentation says this bit must be
zero.
Received on Sun Jan 04 2004 - 11:41:25 UTC

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