patch-2.3.14 linux/drivers/net/sonic.h

Next file: linux/drivers/net/strip.c
Previous file: linux/drivers/net/sonic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/net/sonic.h linux/drivers/net/sonic.h
@@ -17,6 +17,8 @@
 #ifndef SONIC_H
 #define SONIC_H
 
+#include <linux/config.h>
+
 /*
  * SONIC register offsets
  */
@@ -463,14 +465,14 @@
 
 /* Index to functions, as function prototypes. */
 
-static int sonic_open(struct device *dev);
-static int sonic_send_packet(struct sk_buff *skb, struct device *dev);
+static int sonic_open(struct net_device *dev);
+static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev);
 static void sonic_interrupt(int irq, void *dev_id, struct pt_regs *regs);
-static void sonic_rx(struct device *dev);
-static int sonic_close(struct device *dev);
-static struct enet_statistics *sonic_get_stats(struct device *dev);
-static void sonic_multicast_list(struct device *dev);
-static int sonic_init(struct device *dev);
+static void sonic_rx(struct net_device *dev);
+static int sonic_close(struct net_device *dev);
+static struct enet_statistics *sonic_get_stats(struct net_device *dev);
+static void sonic_multicast_list(struct net_device *dev);
+static int sonic_init(struct net_device *dev);
 
 static const char *version =
 	"sonic.c:v0.92 20.9.98 tsbogend@alpha.franken.de\n";

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