[MLX4] limit the process of reading VPD with timeout, but continue to work on error...
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Oct 2009 10:14:38 +0000 (10:14 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Oct 2009 10:14:38 +0000 (10:14 +0000)
commit332407a780b93dbd1bc0354da904e3c6d8d16b96
treee1dba272b01af5aa9925f37dc3270c6800a6eb2c
parent4ddf16d4f1f40662ac388ae3f5c78fe0a0ed4739
[MLX4] limit the process of reading VPD with timeout, but continue to work on error. [mlnx: 4879]

This patch solves the freeze of the driver in case when FW doesn't provide VPD.
(in fact - it's a workaround of a FW bug).
VPD is not used today in IB drivers.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2513 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mlx4/kernel/bus/drv/drv.c
hw/mlx4/kernel/bus/drv/pci.c