tg3: Add more selfboot formats to NVRAM selftest
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Jun 2011 13:38:58 +0000 (13:38 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Wed, 15 Jun 2011 15:11:56 +0000 (11:11 -0400)
commit727a6d9f39604b5592e474295960fceeb523ae4f
treeee0d30591fe4e6fb6182e5d9650f71a717a0c1d5
parenteb69d564a3f34df602bd9b0fae94e14fad23de2d
tg3: Add more selfboot formats to NVRAM selftest

This patch adds more selfboot formats to the NVRAM selftest.  It also
changes the code to return an error on an unsupported NVRAM format.

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