plan9fox/sys
cinap_lenrek a5525457bd etheryuk: fix lockups (thanks burnzez for testing)
according to a comment in linux driver, reading Isrc2
register caused interrupts to be disabled. we used
to read Isrc2 in ifstat() and it was confirmed that
reading ifstat locks up ethernet. removing the Isrc2
read in ifstats, and also reenable interrupts after
reading Isrc2 when the interrupt was not for us.
(this is from the linux driver)

in replenish(), set ring software write pointer (Sring.wp)
*before* the hardware write index register. otherwise
rx() could get status notification for completed
receive but wont find the rx descriptor in the ring.

handle uint wrap arround when calculating ring fill
count and remaining count.
2014-01-12 12:08:10 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: This is Go. 2014-01-04 13:13:38 -05:00
include ape: move strdup() from libbsd to libap (from sources) 2013-12-28 05:14:10 +01:00
lib acid leak: remove arena pointer a < 0xff000000 check 2013-12-25 15:00:39 +01:00
man weather: trim garbage from output 2014-01-06 14:55:42 -05:00
src etheryuk: fix lockups (thanks burnzez for testing) 2014-01-12 12:08:10 +01:00