X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Fsrc%2Fdma.c;h=9a6cc0caa22e2280ec86af7d408a48943f2d0235;hb=195268cae3bb2f462d82dc0178dbca07f0cff706;hp=9b83fcf9b4777ff2ff048a66af94695479d2fe37;hpb=34bf5a5839f48f61e794cb141487e53e18d7a5ab;p=carl9170fw.git diff --git a/carlfw/src/dma.c b/carlfw/src/dma.c index 9b83fcf..9a6cc0c 100644 --- a/carlfw/src/dma.c +++ b/carlfw/src/dma.c @@ -19,15 +19,14 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + * with this program; If not, see . */ #include "carl9170.h" #include "wl.h" #include "printf.h" -struct ar9170_dma_memory dma_mem __section(sram); +struct ar9170_dma_memory dma_mem __in_section(sram); static void copy_dma_desc(struct dma_desc *dst, struct dma_desc *src) @@ -88,10 +87,8 @@ void dma_init_descriptors(void) fw.usb.int_desc = &dma_mem.terminator[i++]; fw.wlan.fw_desc = &dma_mem.terminator[i++]; -#ifdef CONFIG_CARL9170FW_CAB_QUEUE for (j = 0; j < CARL9170_INTF_NUM; j++) init_queue(&fw.wlan.cab_queue[j], &dma_mem.terminator[i++]); -#endif /* CONFIG_CARL9170FW_CAB_QUEUE */ BUG_ON(AR9170_TERMINATOR_NUMBER != i);