cxgb4: parse the VPD instead of relying on a static VPD layout
authorDimitris Michailidis <dm@chelsio.com>
Tue, 27 Apr 2010 12:24:15 +0000 (12:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 22:46:42 +0000 (15:46 -0700)
commit226ec5fd6746c0ef2e9efb583b44d01264ea0bb5
tree6191d304c270c8abae9bd99f9f942a439c1b3ad3
parentc377411f2494a931ff7facdbb3a6839b1266bcf6
cxgb4: parse the VPD instead of relying on a static VPD layout

Some boards' VPDs contain additional keywords or have longer serial numbers,
meaning the keyword locations are variable.  Ditch the static layout and
use the pci_vpd_* family of functions to parse the VPD instead.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/t4_hw.c