diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-04 06:58:33 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-07-17 19:12:33 +0400 |
commit | d4f2cecce138c34960c467d0ae38a6d4bcd6af7b (patch) | |
tree | 19a93bad8f6a56361b3b2f12beecae97be4d8ea0 /mm/pgtable-generic.c | |
parent | 0f1e54ae52b950ed79074ae794d027d6c97fd34e (diff) | |
download | linux-d4f2cecce138c34960c467d0ae38a6d4bcd6af7b.tar.xz |
sfc: Disable VF queues during register self-test
Currently VF queues and drivers may remain active during this test.
This could cause memory corruption or spurious test failures.
Therefore we reset the port/function before running these tests on
Siena.
On Falcon this doesn't work: we have to do some additional
initialisation before some blocks will work again. So refactor the
reset/register-test sequence into an efx_nic_type method so
efx_selftest() doesn't have to consider such quirks.
In the process, fix another minor bug: Siena does not have an
'invisible' reset and the self-test currently fails to push the PHY
configuration after resetting. Passing RESET_TYPE_ALL to
efx_reset_{down,up}() fixes this.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions