1 Index: linux-2.6.23.17/drivers/net/ar2313/ar2313.c
2 ===================================================================
3 --- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.c
4 +++ linux-2.6.23.17/drivers/net/ar2313/ar2313.c
5 @@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi
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 */
17 @@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev
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.17/drivers/net/ar2313/ar2313.h
27 ===================================================================
28 --- linux-2.6.23.17.orig/drivers/net/ar2313/ar2313.h
29 +++ linux-2.6.23.17/drivers/net/ar2313/ar2313.h
30 @@ -107,6 +107,8 @@ typedef struct {
32 struct ar2313_private {
33 struct net_device *dev;
34 + int (*rx)(struct sk_buff *skb);