|
@@ -21,6 +21,7 @@
|
|
*/
|
|
*/
|
|
#define HAS_DMA
|
|
#define HAS_DMA
|
|
|
|
|
|
|
|
+#ifdef CONFIG_PARPORT_PC_FIFO
|
|
static DEFINE_SPINLOCK(dma_spin_lock);
|
|
static DEFINE_SPINLOCK(dma_spin_lock);
|
|
|
|
|
|
#define claim_dma_lock() \
|
|
#define claim_dma_lock() \
|
|
@@ -31,6 +32,7 @@ static DEFINE_SPINLOCK(dma_spin_lock);
|
|
|
|
|
|
#define release_dma_lock(__flags) \
|
|
#define release_dma_lock(__flags) \
|
|
spin_unlock_irqrestore(&dma_spin_lock, __flags);
|
|
spin_unlock_irqrestore(&dma_spin_lock, __flags);
|
|
|
|
+#endif
|
|
|
|
|
|
static struct sparc_ebus_info {
|
|
static struct sparc_ebus_info {
|
|
struct ebus_dma_info info;
|
|
struct ebus_dma_info info;
|