Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 12:41:14 -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:  <200401042041.i04KfE7E009622@gw.catspoiler.org>
In-Reply-To: <200401041115.29188.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 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401042041.i04KfE7E009622>