aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-07-21 22:44:01 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-22 17:51:12 -0400
commit623621b07ebc5b72e0bdfa4a50bbb28f4587de0c (patch)
treea6e472bfa084e79f912ca1b6dcc06dd61332669f /drivers/net/netxen/netxen_nic.h
parent7830b22cbc5f5e804469b74a3fe0d3a8ed88ca31 (diff)
netxen: hw multicast filtering
Enable multicast address filtering capabilities in the hardware. Upto 16 multicast addresses can be programmed for each physical port. Support "allmulti" mode, if enabled. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 149bb60b0c46..fa1fbab65621 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -856,6 +856,9 @@ struct netxen_adapter {
856 int portnum; 856 int portnum;
857 u8 physical_port; 857 u8 physical_port;
858 858
859 uint8_t mc_enabled;
860 uint8_t max_mc_count;
861
859 struct work_struct watchdog_task; 862 struct work_struct watchdog_task;
860 struct timer_list watchdog_timer; 863 struct timer_list watchdog_timer;
861 struct work_struct tx_timeout_task; 864 struct work_struct tx_timeout_task;
@@ -909,7 +912,6 @@ struct netxen_adapter {
909 int (*macaddr_set) (struct netxen_adapter *, netxen_ethernet_macaddr_t); 912 int (*macaddr_set) (struct netxen_adapter *, netxen_ethernet_macaddr_t);
910 int (*set_mtu) (struct netxen_adapter *, int); 913 int (*set_mtu) (struct netxen_adapter *, int);
911 int (*set_promisc) (struct netxen_adapter *, netxen_niu_prom_mode_t); 914 int (*set_promisc) (struct netxen_adapter *, netxen_niu_prom_mode_t);
912 int (*unset_promisc) (struct netxen_adapter *, netxen_niu_prom_mode_t);
913 int (*phy_read) (struct netxen_adapter *, long reg, u32 *); 915 int (*phy_read) (struct netxen_adapter *, long reg, u32 *);
914 int (*phy_write) (struct netxen_adapter *, long reg, u32 val); 916 int (*phy_write) (struct netxen_adapter *, long reg, u32 val);
915 int (*init_port) (struct netxen_adapter *, int); 917 int (*init_port) (struct netxen_adapter *, int);