patch-2.4.0-test4 linux/drivers/net/wan/sdla_chdlc.c
Next file: linux/drivers/net/wan/sdla_fr.c
Previous file: linux/drivers/net/wan/sbni.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Jul 11 11:12:24 2000
- Orig file:
v2.4.0-test3/linux/drivers/net/wan/sdla_chdlc.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/wan/sdla_chdlc.c linux/drivers/net/wan/sdla_chdlc.c
@@ -143,7 +143,7 @@
struct sk_buff* skb);
#endif
static int if_send (struct sk_buff* skb, struct net_device* dev);
-static struct enet_statistics* if_stats (struct net_device* dev);
+static struct net_device_stats* if_stats (struct net_device* dev);
/* CHDLC Firmware interface functions */
static int chdlc_configure (sdla_t* card, void* data);
@@ -1169,7 +1169,7 @@
/*============================================================================
* Get ethernet-style interface statistics.
- * Return a pointer to struct enet_statistics.
+ * Return a pointer to struct net_device_stats.
*/
#ifdef LINUX_2_1
static struct net_device_stats* if_stats (struct net_device* dev)
@@ -1181,7 +1181,7 @@
return &my_card->wandev.stats;
}
#else
-static struct enet_statistics* if_stats (struct net_device* dev)
+static struct net_device_stats* if_stats (struct net_device* dev)
{
sdla_t *my_card;
chdlc_private_area_t* chdlc_priv_area = dev->priv;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)