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-20 10:26:15.000000000 +0200
4 +++ linux-2.6.23.16/drivers/net/ar2313/ar2313.c 2008-04-20 10:26:16.000000000 +0200
6 dev->stats.rx_bytes += skb->len;
7 skb->protocol = eth_type_trans(skb, dev);
8 /* pass the packet to upper layers */
14 @@ -1370,6 +1370,11 @@
15 return PTR_ERR(phydev);
18 + if (phydev->netif_rx)
19 + 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-20 10:26:15.000000000 +0200
29 +++ linux-2.6.23.16/drivers/net/ar2313/ar2313.h 2008-04-20 10:26:16.000000000 +0200
32 struct ar2313_private {
33 struct net_device *dev;
34 + int (*rx)(struct sk_buff *skb);