diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-06-20 14:03:35 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-22 04:45:28 +0000 |
commit | 24e14f9437a597f633b70caf4040cf1712901419 (patch) | |
tree | 64c54a1db2224de520c8947dacba0197f89e1ec6 /util/msrtool/darwin.c | |
parent | ec5ddcd17c7b16592412ff03b77daf1be34a20a3 (diff) |
nb/intel/haswell/pcie.c: Fix getting PCI function
Use `dev->path.pci.devfn` to obtain the `devfn` that `PCI_FUNC` needs.
Tested on Asrock B85M Pro4, `PCI_FUNC` now obtains the correct value.
Change-Id: Ia3bbd56ce0adba9d24f62ffc016cd825bcf3cc6a
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55688
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'util/msrtool/darwin.c')
0 files changed, 0 insertions, 0 deletions