tg3: Use VPD fw version when present
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 5 Apr 2010 10:19:25 +0000 (10:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2010 10:58:01 +0000 (03:58 -0700)
commit184b89044fb6e2a74611dafa69b1dce0d98612c6
tree8fc70a87ed431b3631ae328d3be1c68971c280c2
parent75f9936e1150be739a9f6577a9d34de120ea35f1
tg3: Use VPD fw version when present

This patch extracts the firmware version from the VPD area and changes
the code to prefer that version version over the manually extracted
version.

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@davemloft.net>
drivers/net/tg3.c