[uClinux-dev] [PATCH] typo in 5272 DMA constant

Philippe De Muyter phdm at macqel.be
Wed Jun 6 10:18:27 EDT 2007


Hi Greg,

Fix a small typo in the definition of MCFDMA_DIR_INV (MCF5272 specific)

Philippe

diff -r bc1b4169da23 include/asm-m68knommu/mcfdma.h
--- a/include/asm-m68knommu/mcfdma.h	Tue Jun  5 02:02:41 2007 +0000
+++ b/include/asm-m68knommu/mcfdma.h	Wed Jun  6 13:35:47 2007 +0200
@@ -133,7 +133,7 @@
 #define MCFDMA_DIR_ASCEN     0x0800 /* Address Sequence Complete (Completion) interrupt enable */
 #define MCFDMA_DIR_TEEN      0x0200 /* Transfer Error interrupt enable */
 #define MCFDMA_DIR_TCEN      0x0100 /* Transfer Complete (a bus transfer, that is) interrupt enable */
-#define MCFDMA_DIR_INV       0x1000 /* Invalid Combination */
+#define MCFDMA_DIR_INV       0x0010 /* Invalid Combination */
 #define MCFDMA_DIR_ASC       0x0008 /* Address Sequence Complete (DMA Completion) */
 #define MCFDMA_DIR_TE        0x0002 /* Transfer Error */
 #define MCFDMA_DIR_TC        0x0001 /* Transfer Complete */


More information about the uClinux-dev mailing list