X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-mips%2Fdma.h;h=1353c81065d1808d252d97b339fe34a052cca480;hb=13c48c490208d9e70d8d66d56f96c5054db69af7;hp=d6a6c21f16db507f7e8f362f63427fdfbd922d43;hpb=cce335ae47e231398269fb05fa48e0e9cbf289e0;p=linux-2.6 diff --git a/include/asm-mips/dma.h b/include/asm-mips/dma.h index d6a6c21f16..1353c81065 100644 --- a/include/asm-mips/dma.h +++ b/include/asm-mips/dma.h @@ -84,10 +84,9 @@ * Deskstations or Acer PICA but not the much more versatile DMA logic used * for the local devices on Acer PICA or Magnums. */ -#ifdef CONFIG_SGI_IP22 -/* Horrible hack to have a correct DMA window on IP22 */ -#include -#define MAX_DMA_ADDRESS (PAGE_OFFSET + SGIMC_SEG0_BADDR + 0x01000000) +#if defined(CONFIG_SGI_IP22) || defined(CONFIG_SGI_IP28) +/* don't care; ISA bus master won't work, ISA slave DMA supports 32bit addr */ +#define MAX_DMA_ADDRESS PAGE_OFFSET #else #define MAX_DMA_ADDRESS (PAGE_OFFSET + 0x01000000) #endif