patch-2.4.0-test4 linux/drivers/net/sb1000.c
Next file: linux/drivers/net/sgiseeq.c
Previous file: linux/drivers/net/rtl8129.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 11 11:12:24 2000
- Orig file:
v2.4.0-test3/linux/drivers/net/sb1000.c
- Orig date:
Thu May 11 15:30:07 2000
diff -u --recursive --new-file v2.4.0-test3/linux/drivers/net/sb1000.c linux/drivers/net/sb1000.c
@@ -92,7 +92,7 @@
static int sb1000_dev_ioctl (struct net_device *dev, struct ifreq *ifr, int cmd);
static int sb1000_start_xmit(struct sk_buff *skb, struct net_device *dev);
static void sb1000_interrupt(int irq, void *dev_id, struct pt_regs *regs);
-static struct enet_statistics *sb1000_stats(struct net_device *dev);
+static struct net_device_stats *sb1000_stats(struct net_device *dev);
static int sb1000_close(struct net_device *dev);
@@ -760,7 +760,7 @@
unsigned int skbsize;
struct sk_buff *skb;
struct sb1000_private *lp = (struct sb1000_private *)dev->priv;
- struct enet_statistics *stats = &lp->stats;
+ struct net_device_stats *stats = &lp->stats;
/* SB1000 frame constants */
const int FrameSize = FRAMESIZE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)