commit | c22610d0001ebf3420d39f419056a56c5aa43096 | [log] [tgz] |
---|---|---|
author | Ariel Elior <ariele@broadcom.com> | Thu Jan 26 06:01:47 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 26 13:39:51 2012 -0500 |
tree | 2df40a72ec2c5b5ee215928ac8582d54181cacbe | |
parent | 127a425e8f05b9813879e8ca909ef4338ec8ec04 [diff] |
bnx2x: Obtain Bus Device Function from register BDF was obtained from kernel but since in virtualized environment (e.g. physical device assigment in KVM) the function number may not be the real one, the info must be obtained from the device. Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>