From: Nithin Sujir Date: Fri, 3 Jan 2014 18:09:14 +0000 (-0800) Subject: tg3: Poll cpmu link state on APE + ASF enabled devices X-Git-Tag: v3.14-rc1~94^2~302^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1743b83c86b5dc525463a1bc9c701b4d9e428c5b;p=pandora-kernel.git tg3: Poll cpmu link state on APE + ASF enabled devices On ASF enabled devices where the mgmt firmware runs on the application processing engine, there is a race between the tg3 driver processing a link change event and the ASF firmware clearing the link changed bit in the EMAC status register. This leads to link notifications to the driver sometimes getting lost. Poll the CPMU link state as a backup for the normal interrupt path update if ASF is enabled. Signed-off-by: Nithin Nayak Sujir Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed