diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-05-05 15:05:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-06 18:33:36 -0400 |
commit | 3d0a3cc9d72047e4baa76021c897f64fc84cc543 (patch) | |
tree | 121b07aa7e131380681659734d780042b9c776ca /drivers/net/netxen/netxen_nic.h | |
parent | 5cf4d323f8864dab818d500ec74f2fcb9ad5bf89 (diff) |
netxen: fix bonding support
o Pause traffic during mac addr change.
o Enable setting mac address for NX3031.
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index d368e24c0235..9350c8663fd8 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -1264,9 +1264,10 @@ struct netxen_adapter { | |||
1264 | 1264 | ||
1265 | int (*enable_phy_interrupts) (struct netxen_adapter *); | 1265 | int (*enable_phy_interrupts) (struct netxen_adapter *); |
1266 | int (*disable_phy_interrupts) (struct netxen_adapter *); | 1266 | int (*disable_phy_interrupts) (struct netxen_adapter *); |
1267 | int (*macaddr_set) (struct netxen_adapter *, netxen_ethernet_macaddr_t); | 1267 | int (*macaddr_set) (struct netxen_adapter *, u8 *); |
1268 | int (*set_mtu) (struct netxen_adapter *, int); | 1268 | int (*set_mtu) (struct netxen_adapter *, int); |
1269 | int (*set_promisc) (struct netxen_adapter *, u32); | 1269 | int (*set_promisc) (struct netxen_adapter *, u32); |
1270 | void (*set_multi) (struct net_device *); | ||
1270 | int (*phy_read) (struct netxen_adapter *, long reg, u32 *); | 1271 | int (*phy_read) (struct netxen_adapter *, long reg, u32 *); |
1271 | int (*phy_write) (struct netxen_adapter *, long reg, u32 val); | 1272 | int (*phy_write) (struct netxen_adapter *, long reg, u32 val); |
1272 | int (*init_port) (struct netxen_adapter *, int); | 1273 | int (*init_port) (struct netxen_adapter *, int); |
@@ -1331,6 +1332,9 @@ int netxen_niu_gbe_phy_write(struct netxen_adapter *adapter, | |||
1331 | int netxen_nic_set_mtu_xgb(struct netxen_adapter *adapter, int new_mtu); | 1332 | int netxen_nic_set_mtu_xgb(struct netxen_adapter *adapter, int new_mtu); |
1332 | int netxen_nic_set_mtu_gb(struct netxen_adapter *adapter, int new_mtu); | 1333 | int netxen_nic_set_mtu_gb(struct netxen_adapter *adapter, int new_mtu); |
1333 | 1334 | ||
1335 | int netxen_p2_nic_set_mac_addr(struct netxen_adapter *adapter, u8 *addr); | ||
1336 | int netxen_p3_nic_set_mac_addr(struct netxen_adapter *adapter, u8 *addr); | ||
1337 | |||
1334 | #define NXRD32(adapter, off) \ | 1338 | #define NXRD32(adapter, off) \ |
1335 | (adapter->hw_read_wx(adapter, off)) | 1339 | (adapter->hw_read_wx(adapter, off)) |
1336 | #define NXWR32(adapter, off, val) \ | 1340 | #define NXWR32(adapter, off, val) \ |