summaryrefslogtreecommitdiff
path: root/drivers/net/s2io.h
diff options
context:
space:
mode:
authorSivakumar Subramani <Sivakumar.Subramani@neterion.com>2007-09-14 07:39:19 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:51:47 -0700
commit2fd37688455857b7b92bc2b1379a4c48aa9af147 (patch)
tree11c7df3ca83be6a86c0d01b1fb898b094b0ea711 /drivers/net/s2io.h
parent8a4bdbaa93c2df4cfac2174ba536cd586014787d (diff)
downloadlwn-2fd37688455857b7b92bc2b1379a4c48aa9af147.tar.gz
lwn-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.h2
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);