aboutsummaryrefslogtreecommitdiffstats
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 19:51:47 -0400
commit2fd37688455857b7b92bc2b1379a4c48aa9af147 (patch)
tree11c7df3ca83be6a86c0d01b1fb898b094b0ea711 /drivers/net/s2io.h
parent8a4bdbaa93c2df4cfac2174ba536cd586014787d (diff)
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);
1047static void s2io_reset(struct s2io_nic * sp); 1047static void s2io_reset(struct s2io_nic * sp);
1048static int s2io_poll(struct napi_struct *napi, int budget); 1048static int s2io_poll(struct napi_struct *napi, int budget);
1049static void s2io_init_pci(struct s2io_nic * sp); 1049static void s2io_init_pci(struct s2io_nic * sp);
1050static int s2io_set_mac_addr(struct net_device *dev, u8 * addr); 1050static int do_s2io_prog_unicast(struct net_device *dev, u8 *addr);
1051static void s2io_alarm_handle(unsigned long data); 1051static void s2io_alarm_handle(unsigned long data);
1052static irqreturn_t 1052static irqreturn_t
1053s2io_msix_ring_handle(int irq, void *dev_id); 1053s2io_msix_ring_handle(int irq, void *dev_id);