forcedeth: run loopback test only on chipsets that support it
authorIvan Vecera <ivecera@redhat.com>
Wed, 4 Dec 2013 17:06:51 +0000 (18:06 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Dec 2013 01:59:22 +0000 (20:59 -0500)
commit86d9be263a7ad6f17214d7f112b4c8739137485d
tree3f15092b48bcdb275957cc801c7370629002aee1
parent89015c18ff34a39e4679ddd9b058e74d7dde28e7
forcedeth: run loopback test only on chipsets that support it

The driver incorrectly run loopback test on chips that don't support it.
Loopback test is only supported by chips that has DEV_HAS_TEST_EXTENDED
flag and returns 4 (NV_TEST_COUNT_EXTENDED) as test count.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nvidia/forcedeth.c