X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/eb434568feb9157a62875a1ea504cc15ad553b4d..6d9af11c8cb11d5deb4f53649c7b96faba88df47:/package/mac80211/patches/402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch diff --git a/package/mac80211/patches/402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch b/package/mac80211/patches/402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch index 2a30b610e..9a5b30181 100644 --- a/package/mac80211/patches/402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch +++ b/package/mac80211/patches/402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch @@ -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 Date: Mon, 5 Jan 2009 10:50:30 +0100 -Subject: [PATCH 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. +Changes-licensed-under: ISC + Signed-off-by: Gabor Juhos Signed-off-by: Imre Kaloz --- @@ -95,7 +97,7 @@ Signed-off-by: Imre Kaloz } --- 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 */ @@ -107,7 +109,7 @@ Signed-off-by: Imre Kaloz 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: @@ -118,7 +120,7 @@ Signed-off-by: Imre Kaloz 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) { @@ -177,7 +179,7 @@ Signed-off-by: Imre Kaloz 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;