tg3: Futureproof the loopback test
authorMatt Carlson <mcarlson@broadcom.com>
Thu, 30 Sep 2010 10:34:34 +0000 (10:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2010 07:24:43 +0000 (00:24 -0700)
commit1da85aa3db6878639e407548dad5b2404443e2c5
treefd8c2ea8195227078ca551ee5aef5eb885131396
parent37a949c54857d8b2a38dbdc75bc8666c3292cbc4
tg3: Futureproof the loopback test

There are other multiqueue modes 5717 and 5719 devices can assume.  This
patch makes sure that the loopback test is safe, should those other
modes be enabled in the future.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c