From 0ff3c396d39e762cb0230eb84b9bd1d29dddc520 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 May 2012 21:19:14 +0000 Subject: kernel: rewrite the phy packet hook, put it in the network stack to avoid having to keep non-upstream ethernet driver changes SVN-Revision: 31637 --- .../lantiq/patches-3.2/200-owrt-netif_receive_skb.patch | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch (limited to 'target/linux/lantiq/patches-3.2') diff --git a/target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch b/target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch deleted file mode 100644 index df63eabb76..0000000000 --- a/target/linux/lantiq/patches-3.2/200-owrt-netif_receive_skb.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/drivers/net/ethernet/lantiq_etop.c -+++ b/drivers/net/ethernet/lantiq_etop.c -@@ -188,8 +188,12 @@ ltq_etop_hw_receive(struct ltq_etop_chan - - skb_put(skb, len); - skb->dev = ch->netdev; -- skb->protocol = eth_type_trans(skb, ch->netdev); -- netif_receive_skb(skb); -+ if (priv->phydev && priv->phydev->netif_receive_skb) { -+ priv->phydev->netif_receive_skb(skb); -+ } else { -+ skb->protocol = eth_type_trans(skb, ch->netdev); -+ netif_receive_skb(skb); -+ } - } - - static int -- cgit v1.2.3