diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2011-08-02 23:57:44 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-03 14:23:30 +0400 |
commit | 5b8821b787495273ba4fb333a3561c6da382a9a7 (patch) | |
tree | 61b27b53817ac151ab41a08ac91751c8336fdae5 /drivers/net/benet/be.h | |
parent | c0e64ef4899df4cedc872871e54e2c069d29e519 (diff) | |
download | linux-5b8821b787495273ba4fb333a3561c6da382a9a7.tar.xz |
be2net: use RX_FILTER cmd to program multicast addresses
Use this cmd for both promiscous and multicast address programming. Get rid
of the old MULTICAST_SET cmd.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 8d897d1a93ba..1e7f0094e382 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -334,7 +334,7 @@ struct be_adapter { u8 vlan_tag[VLAN_N_VID]; u8 vlan_prio_bmap; /* Available Priority BitMap */ u16 recommended_prio; /* Recommended Priority */ - struct be_dma_mem mc_cmd_mem; + struct be_dma_mem rx_filter; /* Cmd DMA mem for rx-filter */ struct be_dma_mem stats_cmd; /* Work queue used to perform periodic tasks like getting statistics */ @@ -381,6 +381,8 @@ struct be_adapter { #define BE_GEN2 2 #define BE_GEN3 3 +#define ON 1 +#define OFF 0 #define lancer_chip(adapter) ((adapter->pdev->device == OC_DEVICE_ID3) || \ (adapter->pdev->device == OC_DEVICE_ID4)) |