Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5876
b: refs/heads/master
c: 28cd1d1
h: refs/heads/master
v: v3
  • Loading branch information
Matt Porter authored and Linus Torvalds committed Aug 18, 2005
1 parent a7d2e59 commit 2fbbd20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2eaa297ca234eb518673b28dd6f3715d4b292e09
refs/heads/master: 28cd1d17801774561c81a5be53bfb2d632aee2a2
10 changes: 7 additions & 3 deletions trunk/arch/ppc/syslib/ppc4xx_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ ppc4xx_clr_dma_status(unsigned int dmanr)
return DMA_STATUS_GOOD;
}

#ifdef CONFIG_PPC4xx_EDMA
/*
* Enables the burst on the channel (BTEN bit in the control/count register)
* Note:
Expand Down Expand Up @@ -685,6 +686,11 @@ ppc4xx_set_burst_size(unsigned int dmanr, unsigned int bsize)
return DMA_STATUS_GOOD;
}

EXPORT_SYMBOL(ppc4xx_enable_burst);
EXPORT_SYMBOL(ppc4xx_disable_burst);
EXPORT_SYMBOL(ppc4xx_set_burst_size);
#endif /* CONFIG_PPC4xx_EDMA */

EXPORT_SYMBOL(ppc4xx_init_dma_channel);
EXPORT_SYMBOL(ppc4xx_get_channel_config);
EXPORT_SYMBOL(ppc4xx_set_channel_priority);
Expand All @@ -703,6 +709,4 @@ EXPORT_SYMBOL(ppc4xx_enable_dma_interrupt);
EXPORT_SYMBOL(ppc4xx_disable_dma_interrupt);
EXPORT_SYMBOL(ppc4xx_get_dma_status);
EXPORT_SYMBOL(ppc4xx_clr_dma_status);
EXPORT_SYMBOL(ppc4xx_enable_burst);
EXPORT_SYMBOL(ppc4xx_disable_burst);
EXPORT_SYMBOL(ppc4xx_set_burst_size);

2 changes: 1 addition & 1 deletion trunk/include/asm-ppc/ppc4xx_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ typedef uint32_t sgl_handle_t;

#define GET_DMA_POLARITY(chan) (DMAReq_ActiveLow(chan) | DMAAck_ActiveLow(chan) | EOT_ActiveLow(chan))

#elif defined(CONFIG_STBXXX_DMA) /* stb03xxx */
#elif defined(CONFIG_STB03xxx) /* stb03xxx */

#define DMA_PPC4xx_SIZE 4096

Expand Down

0 comments on commit 2fbbd20

Please sign in to comment.