From: Ben Hutchings Date: Mon, 1 Sep 2008 11:46:33 +0000 (+0100) Subject: sfc: Speed up loopback self-test X-Git-Tag: v2.6.28-rc1~717^2~369 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9aafb0e91a079ff9438ce3c532ea46d4cd2f0fc;p=pandora-kernel.git sfc: Speed up loopback self-test Add efx_poll_loopback() function to test for successful completion of test. Change efx_test_loopback() to end the test after 1 ms if efx_poll_loopback() indicates success, and otherwise to wait for 100 ms as before. While we're here, rename efx_{rx,tx}_loopback() to efx_{begin,end}_loopback() which more accurately reflect their purpose. Signed-off-by: Ben Hutchings Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed