projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
carl9170 toolchain: add SHA256 for binutils-2.25
[carl9170fw.git]
/
carlfw
/
src
/
dma.c
diff --git
a/carlfw/src/dma.c
b/carlfw/src/dma.c
index 9b83fcf9b4777ff2ff048a66af94695479d2fe37..9a6cc0caa22e2280ec86af7d408a48943f2d0235 100644
(file)
--- 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
* 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 <http://www.gnu.org/licenses/>.
*/
#include "carl9170.h"
#include "wl.h"
#include "printf.h"
*/
#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)
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++];
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++]);
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);
BUG_ON(AR9170_TERMINATOR_NUMBER != i);