[toolchain] fix uClibc v0.9.30 build on x86_64
[openwrt.git] / package / mac80211 / patches / 402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch
index ac8a515..9a5b301 100644 (file)
@@ -1,10 +1,12 @@
-From 57b901b5ceb401006a278bc1ad224f0ac88d4f08 Mon Sep 17 00:00:00 2001
+From 4180ca5827fe3ac377a8a71fca955c99ad6a2b5b Mon Sep 17 00:00:00 2001
 From: Gabor Juhos <juhosg@openwrt.org>
 Date: Mon, 5 Jan 2009 10:50:30 +0100
 From: Gabor Juhos <juhosg@openwrt.org>
 Date: Mon, 5 Jan 2009 10:50:30 +0100
-Subject: [PATCH v2 02/11] ath9k: convert to use bus-agnostic DMA routines
+Subject: [PATCH v3 02/11] ath9k: convert to use bus-agnostic DMA routines
 
 Convert to use bus-agnostic DMA routines to make it usable on AHB bus as well.
 
 
 Convert to use bus-agnostic DMA routines to make it usable on AHB bus as well.
 
+Changes-licensed-under: ISC
+
 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 ---
 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 ---
@@ -95,7 +97,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
                }
 --- a/drivers/net/wireless/ath9k/main.c
 +++ b/drivers/net/wireless/ath9k/main.c
                }
 --- a/drivers/net/wireless/ath9k/main.c
 +++ b/drivers/net/wireless/ath9k/main.c
-@@ -1709,9 +1709,8 @@ int ath_descdma_setup(struct ath_softc *
+@@ -1717,9 +1717,8 @@ int ath_descdma_setup(struct ath_softc *
        }
  
        /* allocate descriptors */
        }
  
        /* allocate descriptors */
@@ -107,7 +109,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
        if (dd->dd_desc == NULL) {
                error = -ENOMEM;
                goto fail;
        if (dd->dd_desc == NULL) {
                error = -ENOMEM;
                goto fail;
-@@ -1757,8 +1756,8 @@ int ath_descdma_setup(struct ath_softc *
+@@ -1765,8 +1764,8 @@ int ath_descdma_setup(struct ath_softc *
        }
        return 0;
  fail2:
        }
        return 0;
  fail2:
@@ -118,7 +120,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
  fail:
        memset(dd, 0, sizeof(*dd));
        return error;
  fail:
        memset(dd, 0, sizeof(*dd));
        return error;
-@@ -1771,8 +1770,8 @@ void ath_descdma_cleanup(struct ath_soft
+@@ -1779,8 +1778,8 @@ void ath_descdma_cleanup(struct ath_soft
                         struct ath_descdma *dd,
                         struct list_head *head)
  {
                         struct ath_descdma *dd,
                         struct list_head *head)
  {
@@ -177,7 +179,7 @@ Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
  
                skb_put(skb, ds->ds_rxstat.rs_datalen);
                skb->protocol = cpu_to_be16(ETH_P_CONTROL);
  
                skb_put(skb, ds->ds_rxstat.rs_datalen);
                skb->protocol = cpu_to_be16(ETH_P_CONTROL);
-@@ -601,16 +599,15 @@ int ath_rx_tasklet(struct ath_softc *sc,
+@@ -607,16 +605,15 @@ int ath_rx_tasklet(struct ath_softc *sc,
  
                /* We will now give hardware our shiny new allocated skb */
                bf->bf_mpdu = requeue_skb;
  
                /* We will now give hardware our shiny new allocated skb */
                bf->bf_mpdu = requeue_skb;
This page took 0.024391 seconds and 4 git commands to generate.