• Yu Zhao's avatar
    PCI: fix SR-IOV function dependency link problem · 4d135dbe
    Yu Zhao authored
    PCIe root complex integrated endpoint does not implement ARI, so this
    kind of endpoint uses 3-bit function number. The function dependency
    link of the integrated endpoint should be calculated using the device
    number plus the value from function dependency link register.
    
    Normal endpoint always implements ARI and the function dependency link
    register contains 8-bit function number (i.e. `devfn' from software's
    perspective).
    Signed-off-by: default avatarYu Zhao <yu.zhao@intel.com>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    4d135dbe
iov.c 15.2 KB