diff options
author | Benjamin Li <benli@broadcom.com> | 2008-07-14 22:39:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-14 22:39:52 -0700 |
commit | 5fcaed0124cde73124227542bfce4ed57fccbb50 (patch) | |
tree | 408431b6e281b4c7db2fabced90493ee3bc80b56 /drivers/net/bnx2.h | |
parent | 7c62e83beb1446d690ed921beddb0dcf34c9baa9 (diff) | |
download | linux-stable-5fcaed0124cde73124227542bfce4ed57fccbb50.tar.gz linux-stable-5fcaed0124cde73124227542bfce4ed57fccbb50.tar.bz2 linux-stable-5fcaed0124cde73124227542bfce4ed57fccbb50.zip |
bnx2: Support secondary MAC addresses.
Add support for configuring secondary unicast addresses. There
are 4 additional perfect match filters which can be used for
secondary unicast address support.
* Modified bnx2_set_mac_addr() to be more generic in handling
the setting of the perfect match filters
* Changed bnx2_set_rx_mode() to handle the unicast dev_addr_list
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index 7b882fd9d57f..bb7b5d5471dd 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h @@ -6440,6 +6440,11 @@ struct l2_fhdr { #define BNX2_MISC_ENABLE_DEFAULT 0x17ffffff +#define BNX2_START_UNICAST_ADDRESS_INDEX 4 +#define BNX2_END_UNICAST_ADDRESS_INDEX 7 +#define BNX2_MAX_UNICAST_ADDRESSES (BNX2_END_UNICAST_ADDRESS_INDEX - \ + BNX2_START_UNICAST_ADDRESS_INDEX + 1) + #define DMA_READ_CHANS 5 #define DMA_WRITE_CHANS 3 |