patch-2.4.0-test4 linux/drivers/net/3c515.c

Next file: linux/drivers/net/aironet4500.h
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/3c515.c linux/drivers/net/3c515.c
@@ -310,7 +310,7 @@
 	struct sk_buff *tx_skbuff[TX_RING_SIZE];
 	unsigned int cur_rx, cur_tx;	/* The next free ring entry */
 	unsigned int dirty_rx, dirty_tx;/* The ring entries to be free()ed. */
-	struct enet_statistics stats;
+	struct net_device_stats stats;
 	struct sk_buff *tx_skb;	/* Packet being eaten by bus master ctrl.  */
 	struct timer_list timer;	/* Media selection timer. */
 	int capabilities	;	/* Adapter capabilities word. */
@@ -384,7 +384,7 @@
 				    struct pt_regs *regs);
 static int corkscrew_close(struct net_device *dev);
 static void update_stats(int addr, struct net_device *dev);
-static struct enet_statistics *corkscrew_get_stats(struct net_device *dev);
+static struct net_device_stats *corkscrew_get_stats(struct net_device *dev);
 static void set_rx_mode(struct net_device *dev);
 
 
@@ -1505,7 +1505,7 @@
 	return 0;
 }
 
-static struct enet_statistics *corkscrew_get_stats(struct net_device *dev)
+static struct net_device_stats *corkscrew_get_stats(struct net_device *dev)
 {
 	struct corkscrew_private *vp =
 	    (struct corkscrew_private *) dev->priv;

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