blob: bb9bdcd20864ea41546e670df5369c7bebfdda2d [file] [log] [blame]
Jan Glauber828b35f2012-11-29 14:33:30 +01001#ifndef _ASM_S390_DMA_H
2#define _ASM_S390_DMA_H
3
4#include <asm/io.h>
5
Linus Torvalds1da177e2005-04-16 15:20:36 -07006/*
Jan Glauber828b35f2012-11-29 14:33:30 +01007 * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated
8 * to DMA. It _is_ used for the s390 memory zone split at 2GB caused
9 * by the 31 bit heritage.
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070011#define MAX_DMA_ADDRESS 0x80000000
12
Heiko Carstens87890f92013-01-07 13:52:53 +010013#ifdef CONFIG_PCI
14extern int isa_dma_bridge_buggy;
15#else
16#define isa_dma_bridge_buggy (0)
17#endif
18
Jan Glauber828b35f2012-11-29 14:33:30 +010019#endif /* _ASM_S390_DMA_H */