X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=package%2Fmac80211%2Fpatches%2F402-ath9k-convert-to-use-bus-agnostic-DMA-routines.patch;h=808c1116cf561af36a8ee3c0dc5c6a850452375e;hb=5e29bec1cd7de71eb6368adeb147e2432d782295;hp=2a30b610e19e35792659248c44bf236b96d9f878;hpb=eb434568feb9157a62875a1ea504cc15ad553b4d;p=openwrt-10.03%2F.git 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..808c1116c 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,7 +1,7 @@ From 57b901b5ceb401006a278bc1ad224f0ac88d4f08 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 v2 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. @@ -95,7 +95,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 +107,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 +118,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 +177,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;