]> 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)
commit835504196f4721de3c12fe1710a10798724b6959
tree0b014080dcc8c52731ad9bc5bc842808766c2682
parentb38e735729ce73062144a1116f7269ebdec5d474
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