Date: Wed, 19 Feb 1997 19:51:01 -0500 From: dennis <dennis@etinc.com> To: Luigi Rizzo <luigi@labinfo.iet.unipi.it>, matt@lkg.dec.com (Matt Thomas) Cc: hackers@freebsd.org, dg@freebsd.org Subject: Re: if_de bug found! Message-ID: <3.0.32.19970219195057.00af2590@etinc.com>
next in thread | raw e-mail | index | archive | help
At 11:30 AM 2/19/97 +0100, Luigi Rizzo wrote: >After long and painful debugging I found the bug with the 21140A driver >(if_de.c) from netbsd. The driver has a workaround for a bug of the >21140A when buffers overflow, and stops the receiver and resets the >board when this occurs. This is done in the driver (around line 3230) >by reading from CSR8 into "misses". > >Matt said this is an 'extremely rare' event, on my board, though, it >turned out to happen at the end of every interrupt... A look at >the 21140A reference manuals (on line on the DEC site) shows that the 3 >high bits of CSR8 are set, so that they should be ignored. After doing >this, the driver works like a charm. > >Probably the correct fix is to trigger the workaround only when b16 of >CSR8 is set. Matt ? > >Thanks to Matt for writing the driver and suggesting that the event is >rare, and to DEC for making the hardware manuals available on line. > >I'll submit a PR shortly. This might be a 2.2 candidate, if the if_de >driver in 2.2 has the same workaround. David, can you check ? Does this fix the -AC problem? Will something that lets use use -AC cards in 2.1.7 be made available? Dennis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19970219195057.00af2590>