patch-2.3.13 linux/drivers/net/sunlance.c

Next file: linux/drivers/net/sunqe.c
Previous file: linux/drivers/net/sunhme.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.12/linux/drivers/net/sunlance.c linux/drivers/net/sunlance.c
@@ -1,4 +1,4 @@
-/* $Id: sunlance.c,v 1.85 1999/03/21 05:22:05 davem Exp $
+/* $Id: sunlance.c,v 1.87 1999/08/08 01:36:14 davem Exp $
  * lance.c: Linux/Sparc/Lance driver
  *
  *	Written 1995, 1996 by Miguel de Icaza
@@ -965,10 +965,10 @@
 	mark_bh(NET_BH);
 }
 
-__initfunc(static int 
+static int __init 
 sparc_lance_init (struct device *dev, struct linux_sbus_device *sdev,
 		  struct Linux_SBus_DMA *ledma,
-		  struct linux_sbus_device *lebuffer))
+		  struct linux_sbus_device *lebuffer)
 {
 	static unsigned version_printed = 0;
 	int    i;
@@ -1157,7 +1157,7 @@
 #include <asm/sun4paddr.h>
 
 /* Find all the lance cards on the system and initialize them */
-__initfunc(int sparc_lance_probe (struct device *dev))
+int __init sparc_lance_probe (struct device *dev)
 {
 	static struct linux_sbus_device sdev;
 	static int called = 0;
@@ -1179,7 +1179,7 @@
 #else /* !CONFIG_SUN4 */
 
 /* Find all the lance cards on the system and initialize them */
-__initfunc(int sparc_lance_probe (struct device *dev))
+int __init sparc_lance_probe (struct device *dev)
 {
 	struct linux_sbus *bus;
 	struct linux_sbus_device *sdev = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)