[PATCH] fix semaphore handling in __unregister_chrdev_region
[linux/fpc-iii.git] / include / asm-v850 / dma.h
blob2369849e2d0a66fcc9d30d45d16062ddd965190b
1 #ifndef __V850_DMA_H__
2 #define __V850_DMA_H__
4 /* What should this be? */
5 #define MAX_DMA_ADDRESS 0xFFFFFFFF
7 /* reserve a DMA channel */
8 extern int request_dma (unsigned int dmanr, const char * device_id);
9 /* release it again */
10 extern void free_dma (unsigned int dmanr);
12 #ifdef CONFIG_PCI
13 extern int isa_dma_bridge_buggy;
14 #else
15 #define isa_dma_bridge_buggy (0)
16 #endif
18 #endif /* __V850_DMA_H__ */