pci_device: Write vendor ID to subsystem vendor ID
commitfd891291ed4db76f08cd897561489e3ed76f40cf
authorRizwan Qureshi <rizwan.qureshi@intel.com>
Wed, 26 Apr 2017 15:30:37 +0000 (26 21:00 +0530)
committerMartin Roth <martinroth@google.com>
Sun, 30 Apr 2017 23:06:02 +0000 (1 01:06 +0200)
tree5c4e9f25dcbab87ca34fdd8c9430d96aed753455
parent852debe648251bc507736fce355d9bb9102c5aaa
pci_device: Write vendor ID to subsystem vendor ID

Write vendor/device id to subsystem vendor/device id
if they are not provided.

Change-Id: I5027331a6adf9109767415ba22dfcb17b35ef54b
Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com>
Reviewed-on: https://review.coreboot.org/19467
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
src/device/pci_device.c