CVSROOT: /cvs Module name: src Changes by: [EMAIL PROTECTED] 2008/09/11 23:44:52
Modified files: sys/dev/ic : dc.c Log message: Some fixes for dc_txeof().. - Don't reload the watchdog timer in case there are still unhandled descriptors. - Don't clear IFF_OACTIVE unless there are at least 6 free TX descriptors. The function dc_encap() will bail if there are only 5 or fewer free TX descriptors, causing dc_start() to abort so it makes no sense to pretend we could process mbufs again when in fact we can't. - Always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case. >From FreeBSD