From: David S. Miller Date: Sat, 25 Jun 2005 03:17:10 +0000 (-0700) Subject: [TG3]: Fix missing memory barriers and SD_STATUS_UPDATED bit clearing. X-Git-Tag: v2.6.13-rc1~68^2~245 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd024c8baf9756759c57f0a19be639da8d3d4f8c;p=pandora-kernel.git [TG3]: Fix missing memory barriers and SD_STATUS_UPDATED bit clearing. There must be a rmb() between reading the status block tag and calling tg3_has_work(). This was missing in tg3_mis() and tg3_interrupt_tagged(). tg3_poll() got it right. Also, SD_STATUS_UPDATED must be cleared in the status block right before we call tg3_has_work(). Only tg3_poll() got this wrong. Based upon patches and commentary from Grant Grundler and Michael Chan. Signed-off-by: David S. Miller --- Reading git-diff-tree failed