1 --- a/drivers/net/ar2313/ar2313.c
2 +++ b/drivers/net/ar2313/ar2313.c
3 @@ -953,9 +953,9 @@ static int ar2313_rx_int(struct net_devi
4 ((status >> DMA_RX_LEN_SHIFT) & 0x3fff) - CRC_LEN);
6 dev->stats.rx_bytes += skb->len;
7 - skb->protocol = eth_type_trans(skb, dev);
9 /* pass the packet to upper layers */
15 @@ -1370,6 +1370,8 @@ static int mdiobus_probe (struct net_dev
16 return PTR_ERR(phydev);
19 + sp->rx = phydev->netif_rx;
21 /* mask with MAC supported features */
22 phydev->supported &= (SUPPORTED_10baseT_Half
23 | SUPPORTED_10baseT_Full
24 --- a/drivers/net/ar2313/ar2313.h
25 +++ b/drivers/net/ar2313/ar2313.h
26 @@ -107,6 +107,8 @@ typedef struct {
28 struct ar2313_private {
29 struct net_device *dev;
30 + int (*rx)(struct sk_buff *skb);