cxgb4: Allow for backward compatibility with new VPD scheme.
authorSantosh Rastapur <santosh@chelsio.com>
Fri, 8 Mar 2013 03:35:29 +0000 (03:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Mar 2013 09:33:12 +0000 (05:33 -0400)
New scheme calls for 3rd party VPD at offset 0x0 and Chelsio VPD at offset
0x400 of the function.  If no 3rd party VPD is present, then a copy of
Chelsio's VPD will be at offset 0x0 to keep in line with PCI spec which
requires the VPD to be present at offset 0x0.

Signed-off-by: Santosh Rastapur <santosh@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found