diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-06-12 14:48:45 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-06-12 14:48:45 +0000 |
commit | 87f994d16d4bf80a5c7104b2ee0647df6f92d5fd (patch) | |
tree | 2497c9379a7b0707664887456dc1846d1cdf8064 /target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch | |
parent | 990423f3efad559289c3a084f2cb40a0c0f2834e (diff) | |
download | upstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.tar.gz upstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.tar.bz2 upstream-87f994d16d4bf80a5c7104b2ee0647df6f92d5fd.zip |
brcm47xx: remove support for kernel 3.6
SVN-Revision: 36927
Diffstat (limited to 'target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch')
-rw-r--r-- | target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch b/target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch deleted file mode 100644 index 9d8733fef2..0000000000 --- a/target/linux/brcm47xx/patches-3.6/765-bgmac-omit-the-fcs.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- a/drivers/net/ethernet/broadcom/bgmac.c -+++ b/drivers/net/ethernet/broadcom/bgmac.c -@@ -301,12 +301,16 @@ static int bgmac_dma_rx_read(struct bgma - bgmac_err(bgmac, "Found poisoned packet at slot %d, DMA issue!\n", - ring->start); - } else { -+ /* Omit CRC. */ -+ len -= ETH_FCS_LEN; -+ - new_skb = netdev_alloc_skb_ip_align(bgmac->net_dev, len); - if (new_skb) { - skb_put(new_skb, len); - skb_copy_from_linear_data_offset(skb, BGMAC_RX_FRAME_OFFSET, - new_skb->data, - len); -+ skb_checksum_none_assert(skb); - new_skb->protocol = - eth_type_trans(new_skb, bgmac->net_dev); - netif_receive_skb(new_skb); |