dma.h (18af30e259c25a64ad69bb749c661564bc886275) | dma.h (ae3a197e3d0bfe3f4bf1693723e82dc018c096f3) |
---|---|
1#ifndef _ASM_POWERPC_DMA_H 2#define _ASM_POWERPC_DMA_H 3#ifdef __KERNEL__ 4 5/* 6 * Defines for using and allocating dma channels. 7 * Written by Hennus Bergman, 1992. 8 * High DMA channel support & info by Hannu Savolainen --- 10 unchanged lines hidden (view full) --- 19 * 20 * There may be some comments or restrictions made here which are 21 * not valid for the PReP platform. Take what you read 22 * with a grain of salt. 23 */ 24 25#include <asm/io.h> 26#include <linux/spinlock.h> | 1#ifndef _ASM_POWERPC_DMA_H 2#define _ASM_POWERPC_DMA_H 3#ifdef __KERNEL__ 4 5/* 6 * Defines for using and allocating dma channels. 7 * Written by Hennus Bergman, 1992. 8 * High DMA channel support & info by Hannu Savolainen --- 10 unchanged lines hidden (view full) --- 19 * 20 * There may be some comments or restrictions made here which are 21 * not valid for the PReP platform. Take what you read 22 * with a grain of salt. 23 */ 24 25#include <asm/io.h> 26#include <linux/spinlock.h> |
27#include <asm/system.h> | |
28 29#ifndef MAX_DMA_CHANNELS 30#define MAX_DMA_CHANNELS 8 31#endif 32 33/* The maximum address that we can perform a DMA transfer to on this platform */ 34/* Doesn't really apply... */ 35#define MAX_DMA_ADDRESS (~0UL) --- 321 unchanged lines hidden --- | 27 28#ifndef MAX_DMA_CHANNELS 29#define MAX_DMA_CHANNELS 8 30#endif 31 32/* The maximum address that we can perform a DMA transfer to on this platform */ 33/* Doesn't really apply... */ 34#define MAX_DMA_ADDRESS (~0UL) --- 321 unchanged lines hidden --- |