mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-02 00:00:41 +02:00
When driver is loaded in guest OS, the pci variables is_virtfn and is_physfn are both set to 0. This change uses registers in controller to determine the same. Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>