]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitff087f40f4d2dc3e8994794310d242156dee9e54
tree3f15092b48bcdb275957cc801c7370629002aee1
parent024684a93360357d313b36085a577b1478a4b1a0
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