diff options
author | Sivakumar Subramani <Sivakumar.Subramani@neterion.com> | 2007-09-14 07:39:19 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:51:47 -0700 |
commit | 2fd37688455857b7b92bc2b1379a4c48aa9af147 (patch) | |
tree | 11c7df3ca83be6a86c0d01b1fb898b094b0ea711 /drivers/net/s2io.h | |
parent | 8a4bdbaa93c2df4cfac2174ba536cd586014787d (diff) | |
download | blackbird-op-linux-2fd37688455857b7b92bc2b1379a4c48aa9af147.tar.gz blackbird-op-linux-2fd37688455857b7b92bc2b1379a4c48aa9af147.zip |
S2io: Added support set_mac_address driver entry point
- Added set_mac_address driver entry point
- Copying permanent mac address to dev->perm_addr
- Incorporated following review comments from Jeff
- Converted the macro to a function and removed call to memset
- regarding function naming convention, for all callbacks and entry points
will have 's2io_' prefix and helper functions will have 'do_s2io_' prefix.
Signed-off-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/s2io.h')
-rw-r--r-- | drivers/net/s2io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.h b/drivers/net/s2io.h index 9b645f406399..f6b45565304f 100644 --- a/drivers/net/s2io.h +++ b/drivers/net/s2io.h @@ -1047,7 +1047,7 @@ static void s2io_link(struct s2io_nic * sp, int link); static void s2io_reset(struct s2io_nic * sp); static int s2io_poll(struct napi_struct *napi, int budget); static void s2io_init_pci(struct s2io_nic * sp); -static int s2io_set_mac_addr(struct net_device *dev, u8 * addr); +static int do_s2io_prog_unicast(struct net_device *dev, u8 *addr); static void s2io_alarm_handle(unsigned long data); static irqreturn_t s2io_msix_ring_handle(int irq, void *dev_id); |