PCI: output FW warning in pci_read/write_vpd
authorPrarit Bhargava <prarit@redhat.com>
Mon, 17 May 2010 18:25:14 +0000 (14:25 -0400)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 18 May 2010 22:00:25 +0000 (15:00 -0700)
commit5030718ee465c759c2a851851e79039f58b9efb3
treededfe6c7866cf19e3555662ceaa8782454e9338c
parentee6583f6e8f8dad4a53985dbabcd7c242d66a6b6
PCI: output FW warning in pci_read/write_vpd

pci_read/write_vpd() can fail due to a timeout.  Usually the command
times out because of firmware issues (incorrect vpd length, etc.) on the
PCI card.  Currently, the timeout occurs silently.

Output a message to the user indicating that they should check with
their vendor for new firmware.

Reviewed-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/access.c