aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_hw.h
diff options
context:
space:
mode:
authorSarveshwar Bandi <sarveshwarb@serverengines.com>2010-03-30 22:56:12 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-01 22:53:14 -0400
commitba343c7736b36d62d276e20383588bcf9403d6c6 (patch)
tree3b157ff000be3ef3ead1a07d038e5afd23d03e53 /drivers/net/benet/be_hw.h
parentf64e96973a1fa885ce6e4f7e3fdbae83de98fcab (diff)
be2net: Adding PCI SRIOV support
- Patch adds support to enable PCI SRIOV in the driver and changes to handle initialization of PCI virtual functions. - Function handler to change mac addresses for VF from its corresponding PF. Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_hw.h')
-rw-r--r--drivers/net/benet/be_hw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h
index 2d4a4b827637..063026de4957 100644
--- a/drivers/net/benet/be_hw.h
+++ b/drivers/net/benet/be_hw.h
@@ -99,6 +99,9 @@
99/* Number of entries posted */ 99/* Number of entries posted */
100#define DB_MCCQ_NUM_POSTED_SHIFT (16) /* bits 16 - 29 */ 100#define DB_MCCQ_NUM_POSTED_SHIFT (16) /* bits 16 - 29 */
101 101
102/********** SRIOV VF PCICFG OFFSET ********/
103#define SRIOV_VF_PCICFG_OFFSET (4096)
104
102/* Flashrom related descriptors */ 105/* Flashrom related descriptors */
103#define IMAGE_TYPE_FIRMWARE 160 106#define IMAGE_TYPE_FIRMWARE 160
104#define IMAGE_TYPE_BOOTCODE 224 107#define IMAGE_TYPE_BOOTCODE 224