diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-25 16:38:14 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-25 16:38:14 -0300 |
commit | 21fbe187a9eed151eec8042d40f8cf7008a095db (patch) | |
tree | 384cd2f77f6aea90a2d3d6ec17e5de134a69e2f0 /libre/linux-libre/3.11.1-fix-skge.patch | |
parent | 54360e88db6fd8b650ccd147cecbff0e1fac22fa (diff) | |
download | abslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.tar.gz abslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.tar.bz2 abslibre-21fbe187a9eed151eec8042d40f8cf7008a095db.zip |
linux-libre-3.11.1-3: updating revision with new patches
* fix broken skge network driver #36865 => https://bugs.archlinux.org/task/36865
* add haswell pstate support
* update version for mips64el
Diffstat (limited to 'libre/linux-libre/3.11.1-fix-skge.patch')
-rw-r--r-- | libre/linux-libre/3.11.1-fix-skge.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/libre/linux-libre/3.11.1-fix-skge.patch b/libre/linux-libre/3.11.1-fix-skge.patch new file mode 100644 index 000000000..26d90e080 --- /dev/null +++ b/libre/linux-libre/3.11.1-fix-skge.patch @@ -0,0 +1,34 @@ +--- a/drivers/net/ethernet/marvell/skge.c 2013-09-02 16:46:10.000000000 -0400 ++++ b/drivers/net/ethernet/marvell/skge.c 2013-09-22 11:14:10.232067541 -0400 +@@ -3086,23 +3086,27 @@ + PCI_DMA_FROMDEVICE); + skge_rx_reuse(e, skge->rx_buf_size); + } else { ++ struct skge_element ee; + struct sk_buff *nskb; + + nskb = netdev_alloc_skb_ip_align(dev, skge->rx_buf_size); + if (!nskb) + goto resubmit; + ++ ee = *e; ++ ++ skb = ee.skb; ++ prefetch(skb->data); ++ + if (skge_rx_setup(skge, e, nskb, skge->rx_buf_size) < 0) { + dev_kfree_skb(nskb); + goto resubmit; + } + + pci_unmap_single(skge->hw->pdev, +- dma_unmap_addr(e, mapaddr), +- dma_unmap_len(e, maplen), ++ dma_unmap_addr(&ee, mapaddr), ++ dma_unmap_len(&ee, maplen), + PCI_DMA_FROMDEVICE); +- skb = e->skb; +- prefetch(skb->data); + } + + skb_put(skb, len); |