diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-02-21 23:56:07 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2015-06-05 10:14:21 +0200 |
commit | 59d609217b0d8abccc7038d7f7a13020fd1ee246 (patch) | |
tree | 4d15337a919107f286095c1a02ce5cb766034f38 /src/device | |
parent | 34de29aeb3a8d5013044fea9387609ea63d8ecf6 (diff) |
AMD fam10: Fix add_more_links
One PCI function may contain upto 4 links, further links must
be added to PCI function 4 on the same device.
There is no requirement that in dev->link_list the last element
would have the highest link->link_num.
Also fix off-by-one error when allocating for more links.
Change-Id: If7ebdd1ad52653d3757b5930bd0a83e2cf2fcac6
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/8555
Tested-by: build bot (Jenkins)
Reviewed-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Diffstat (limited to 'src/device')
0 files changed, 0 insertions, 0 deletions