diff options
author | Ariel Elior <ariele@broadcom.com> | 2012-01-26 06:01:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-26 13:39:51 -0500 |
commit | c22610d0001ebf3420d39f419056a56c5aa43096 (patch) | |
tree | 2df40a72ec2c5b5ee215928ac8582d54181cacbe /drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | |
parent | 127a425e8f05b9813879e8ca909ef4338ec8ec04 (diff) | |
download | op-kernel-dev-c22610d0001ebf3420d39f419056a56c5aa43096.zip op-kernel-dev-c22610d0001ebf3420d39f419056a56c5aa43096.tar.gz |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h index dddbcf6..8c79e00 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_reg.h @@ -6023,7 +6023,8 @@ #define PCICFG_MSI_CONTROL_64_BIT_ADDR_CAP (0x1<<23) #define PCICFG_MSI_CONTROL_MSI_PVMASK_CAPABLE (0x1<<24) #define PCICFG_GRC_ADDRESS 0x78 -#define PCICFG_GRC_DATA 0x80 +#define PCICFG_GRC_DATA 0x80 +#define PCICFG_ME_REGISTER 0x98 #define PCICFG_MSIX_CAP_ID_OFFSET 0xa0 #define PCICFG_MSIX_CONTROL_TABLE_SIZE (0x7ff<<16) #define PCICFG_MSIX_CONTROL_RESERVED (0x7<<27) |