]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit81b33280649d940012f1b556d7447ce14d9a561e
tree0b014080dcc8c52731ad9bc5bc842808766c2682
parentfc484309f14c65b23369359150520e1724770af3
cxgb4: Allow for backward compatibility with new VPD scheme.

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>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c