patch-2.4.20 linux-2.4.20/include/asm-mips/galileo-boards/evb64120A/dma.h
Next file: linux-2.4.20/include/asm-mips/galileo-boards/evb64120A/eeprom_param.h
Previous file: linux-2.4.20/include/asm-mips/galileo-boards/evb64120A/core.h
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/dma.h
- Orig date:
Fri Aug 2 17:39:45 2002
diff -urN linux-2.4.19/include/asm-mips/galileo-boards/evb64120A/dma.h linux-2.4.20/include/asm-mips/galileo-boards/evb64120A/dma.h
@@ -2,7 +2,7 @@
/* Copyright Galileo Technology. */
-#ifndef __INCdmah
+#ifndef __INCdmah
#define __INCdmah
/* includes */
@@ -55,11 +55,11 @@
typedef enum prioChan01{ROUND_ROBIN01,CH_1,CH_0} PRIO_CHAN_0_1;
typedef enum prioChan23{ROUND_ROBIN23,CH_3,CH_2} PRIO_CHAN_2_3;
typedef enum prioGroup{ROUND_ROBIN,CH_2_3,CH_0_1} PRIO_GROUP;
-typedef enum prioOpt{RETURN_BUS,KEEP_BUS} PRIO_OPT;
+typedef enum prioOpt{RETURN_BUS,KEEP_BUS} PRIO_OPT;
typedef struct dmaRecored
{
- unsigned int ByteCnt;
+ unsigned int ByteCnt;
unsigned int SrcAdd;
unsigned int DestAdd;
unsigned int NextRecPtr;
@@ -74,7 +74,7 @@
bool dmaCommand (DMA_ENGINE channel,unsigned int command);
bool isDmaChannelActive (DMA_ENGINE channel);
-bool changeDmaPriority(PRIO_CHAN_0_1 prio_01, PRIO_CHAN_2_3 prio_23,
+bool changeDmaPriority(PRIO_CHAN_0_1 prio_01, PRIO_CHAN_2_3 prio_23,
PRIO_GROUP prioGrp, PRIO_OPT prioOpt);
#endif /* __INCdmah */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)