CVSROOT: /cvs Module name: src Changes by: s...@cvs.openbsd.org 2012/07/13 04:08:15
Modified files: sys/dev/ic : rt2560.c rt2560var.h rt2661.c rt2661var.h Log message: Keep separate OACTIVE flags to mark full management/data tx queues, and set the interface's IFF_OACTIVE flag if either queue is full and clear it only if both queues have free slots. Before this change both queues were setting/clearing the same flag with no regard for the other queue's state. Also, don't reset the tx watchdog counter if either queue still has frames queued when we exit the frame-processing loop in the per-queue interrupt handlers. Both changes originally from sephe@dragonfly. Tested by myself and edd on a slow busy soekris which before this change required occasional 'ifconfig ral0 down up' to recover.