Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sgimips/mace



Module Name:    src
Committed By:   tsutsui
Date:           Thu Aug  7 15:05:02 UTC 2008

Modified Files:
        src/sys/arch/sgimips/mace: if_mec.c if_mecreg.h

Log Message:
- check TX_RING pointer in MEC_INT_STATUS in mec_rxintr() (from OpenBSD)
- preserve the last TX descriptor to avoid wraparound (as per Linux driver)
- check IFQ_IS_EMPTY() on calling mec_start() in mec_intr()
- clear IFF_OACTIVE only if a number of descriptors are freed in mec_txintr()

Seems to fix mec(4) hangup problem (and silent reboot by crime watchdog)
on heavy load.  Tested by martin@ and Jorge Acereda Macia on port-sgimips.
(though Jorge still has some problem, but this should have fixed one issue)


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/arch/sgimips/mace/if_mec.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/sgimips/mace/if_mecreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index