kernel/wr-nic: message fix for "possible failure in wrc load"
The code was checking the first LM32 instruction, but it used wrong
endianness.
This fixes the check, but the fix uncovered a bug: the "wrc=1"
parameter was only loading the first card. This fixes the bug
as well but not overwriting the user-provided parameter.
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
Showing
Please
register
or
sign in
to comment