~kris/9p

9hist

07f801a431ce07e6615ef692ebe2acfe53705931 — David du Colombier 27 years ago 8de132d
Plan 9 from Bell Labs 1998-10-27
1 files changed, 6 insertions(+), 2 deletions(-)

M pc/etherelnk3.c
M pc/etherelnk3.c => pc/etherelnk3.c +6 -2
@@ 1045,6 1045,9 @@ interrupt(Ureg*, void* arg)
			 * According to the manual, maxCollisions does not require
			 * a TxReset, merely a TxEnable. However, evidence points to
			 * it being necessary on the 3C905. The jury is still out.
			 * On busy or badly configured networks maxCollisions can
			 * happen frequently enough for messages to be annoying so
			 * keep quiet about them by popular request.
			 */
			if(s & (txJabber|txUnderrun|maxCollisions)){
				if(ctlr->busmaster == 0)


@@ 1060,8 1063,9 @@ interrupt(Ureg*, void* arg)
					status |= dnComplete;
			}

			print("#l%d: txstatus 0x%uX, threshold %d\n",
			    	ether->ctlrno, s, ctlr->txthreshold);
			if(s & ~(txStatusComplete|maxCollisions))
				print("#l%d: txstatus 0x%uX, threshold %d\n",
			    		ether->ctlrno, s, ctlr->txthreshold);
			COMMAND(port, TxEnable, 0);
			ether->oerrs++;
			status &= ~txComplete;