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 ((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
8 dev->stats.rx_bytes += skb->len;
9 - skb->protocol = eth_type_trans(skb, dev);
11 /* pass the packet to upper layers */
18 return PTR_ERR(phydev);
21 + sp->rx = phydev->netif_rx;
23 /* mask with MAC supported features */
24 phydev->supported &= (SUPPORTED_10baseT_Half
25 | SUPPORTED_10baseT_Full
26 Index: linux-2.6.23.16/drivers/net/ar2313/ar2313.h
27 ===================================================================
28 --- linux-2.6.23.16.orig/drivers/net/ar2313/ar2313.h 2008-04-29 14:51:39.000000000 +0200
29 +++ linux-2.6.23.16/drivers/net/ar2313/ar2313.h 2008-04-29 14:52:15.000000000 +0200
32 struct ar2313_private {
33 struct net_device *dev;
34 + int (*rx)(struct sk_buff *skb);