1 Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.c
2 ===================================================================
3 --- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.c 2008-04-29 14:51:39.000000000 +0200
4 +++ linux-2.6.23.16/drivers/net/ar2313/ar2313.c 2008-04-29 14:52:14.000000000 +0200
6 dev->do_ioctl = &ar2313_ioctl;
8 // SAMEER: do we need this?
9 - dev->features |= NETIF_F_SG | NETIF_F_HIGHDMA;
10 + dev->features |= NETIF_F_HIGHDMA | NETIF_F_HW_CSUM;
12 tasklet_init(&sp->rx_tasklet, rx_tasklet_func, (unsigned long) dev);
13 tasklet_disable(&sp->rx_tasklet);
15 ((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
17 dev->stats.rx_bytes += skb->len;
18 - skb->protocol = eth_type_trans(skb, dev);
20 /* pass the packet to upper layers */
27 return PTR_ERR(phydev);
30 + sp->rx = phydev->netif_rx;
32 /* mask with MAC supported features */
33 phydev->supported &= (SUPPORTED_10baseT_Half
34 | SUPPORTED_10baseT_Full
35 Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.h
36 ===================================================================
37 --- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.h 2008-04-29 14:51:39.000000000 +0200
38 +++ linux-2.6.23.16/drivers/net/ar2313/ar2313.h 2008-04-29 14:52:15.000000000 +0200
41 struct ar2313_private {
42 struct net_device *dev;
43 + int (*rx)(struct sk_buff *skb);