projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig/symbol.c: use correct pointer type argument for sizeof
[carl9170fw.git]
/
carlfw
/
include
/
dma.h
diff --git
a/carlfw/include/dma.h
b/carlfw/include/dma.h
index 51d0db4442aef7c3765a9083cc6f344dee345004..477c2a2ca2a1ebe7214a7b9e8b29c6b640757262 100644
(file)
--- a/
carlfw/include/dma.h
+++ b/
carlfw/include/dma.h
@@
-19,8
+19,7
@@
* 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/>.
*/
#ifndef __CARL9170FW_DMA_H
*/
#ifndef __CARL9170FW_DMA_H
@@
-51,11
+50,7
@@
struct dma_desc {
#define AR9170_TERMINATOR_NUMBER_INT 1
#define AR9170_TERMINATOR_NUMBER_INT 1
-#ifdef CONFIG_CARL9170FW_CAB_QUEUE
#define AR9170_TERMINATOR_NUMBER_CAB CARL9170_INTF_NUM
#define AR9170_TERMINATOR_NUMBER_CAB CARL9170_INTF_NUM
-#else
-#define AR9170_TERMINATOR_NUMBER_CAB 0
-#endif /* CONFIG_CARL9170FW_CAB_QUEUE */
#define AR9170_TERMINATOR_NUMBER (AR9170_TERMINATOR_NUMBER_B + \
AR9170_TERMINATOR_NUMBER_INT + \
#define AR9170_TERMINATOR_NUMBER (AR9170_TERMINATOR_NUMBER_B + \
AR9170_TERMINATOR_NUMBER_INT + \
@@
-283,7
+278,7
@@
static inline __inline struct dma_desc *dma_dequeue_not_bits(struct dma_queue *q
desc = (queue)->head)
#define __for_each_desc_continue(desc, queue) \
desc = (queue)->head)
#define __for_each_desc_continue(desc, queue) \
- for (;
desc != (queue)->terminator;
\
+ for (;
desc != (queue)->terminator;
\
desc = (desc)->lastAddr->nextAddr)
#define __for_each_desc(desc, queue) \
desc = (desc)->lastAddr->nextAddr)
#define __for_each_desc(desc, queue) \