diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 12:46:33 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:44 -0400 |
commit | b9aafb0e91a079ff9438ce3c532ea46d4cd2f0fc (patch) | |
tree | 083d74d62cb2e562ea2d20a3024173efa8a4b7e5 /drivers/parisc/ccio-rm-dma.c | |
parent | f8ea0b6743f00180ee3260d82f383a02a4dd9a78 (diff) |
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 <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/parisc/ccio-rm-dma.c')
0 files changed, 0 insertions, 0 deletions