b72d483eb5
under load. This patch has been tested by Thomas and other for more than a month now, and all (known) hangs seem to be solved. Thomas's explanation of the patch: * Fix the problem with the printing of the RX-error. * Code from if_fet do better deal with the RX-recovery including a timeout of the RX-turnoff. * The call to vr_rxeof before vr_rxeoc have been moved to a point where the RX-part of the chip is turned off. Otherwise there is a window where new data could have been written to the buffer chain before the RX-part is turned off. If this happens the chip will see a busy rx-buffer. I have no evidence that this have occured but god knows what the chip will do in this case! * I have added a timeout of the TX-turnoff. I have checked and in my 900 MHz system the flags for turnoff (both RX & TX) is seen at the first check in the loop. * I could see that I got the VR_ISR_DROPPED interrupt sometimes and started to thinking about this. I then realized that no recovery is needed for this case and therefore I only count it as an rxerror (which was not done before). * Finally I have changed the FIFO RX threshhold to 128 bytes. When I did this the VR_ISR_DROPPED interrupt went away. Theory: The chip will receive a complete frame before it tries to write it out to memory then the RX threshold is set to store'n'forward. IF the frame is large AND the next rx frame also is large AND the bus is busy transfering a TX frame to the TX fifo THEN the second received frame wont fit in the FIFO and is then dropped. By having the RX threshold set to 128 the RX fifo is emptied faster. MFC after: 5 days |
||
---|---|---|
.. | ||
agp_ali.c | ||
agp_amd.c | ||
agp_i810.c | ||
agp_if.m | ||
agp_intel.c | ||
agp_sis.c | ||
agp_via.c | ||
agp.c | ||
agppriv.h | ||
agpreg.h | ||
agpvar.h | ||
alpm.c | ||
amdpm.c | ||
cy_pci.c | ||
dc21040reg.h | ||
if_dc.c | ||
if_dcreg.h | ||
if_de.c | ||
if_devar.h | ||
if_en_pci.c | ||
if_mn.c | ||
if_pcn.c | ||
if_pcnreg.h | ||
if_rl.c | ||
if_rlreg.h | ||
if_sf.c | ||
if_sfreg.h | ||
if_sis.c | ||
if_sisreg.h | ||
if_sk.c | ||
if_skreg.h | ||
if_ste.c | ||
if_stereg.h | ||
if_ti.c | ||
if_tireg.h | ||
if_tl.c | ||
if_tlreg.h | ||
if_vr.c | ||
if_vrreg.h | ||
if_wb.c | ||
if_wbreg.h | ||
if_xl.c | ||
if_xlreg.h | ||
intpm.c | ||
intpmreg.h | ||
locate.pl | ||
meteor_reg.h | ||
meteor.c | ||
ncr.c | ||
ncrreg.h | ||
simos.c | ||
simos.h | ||
ti_fw2.h | ||
ti_fw.h | ||
viapm.c | ||
xmaciireg.h | ||
xrpu.c |