2009-03-27 20:25:44 +07:00
|
|
|
/*
|
|
|
|
* Arch specific extensions to struct device
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License v2. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_MICROBLAZE_DEVICE_H
|
|
|
|
#define _ASM_MICROBLAZE_DEVICE_H
|
|
|
|
|
|
|
|
struct device_node;
|
|
|
|
|
|
|
|
struct dev_archdata {
|
2010-01-14 17:21:02 +07:00
|
|
|
/* DMA operations on that device */
|
|
|
|
struct dma_map_ops *dma_ops;
|
|
|
|
void *dma_data;
|
2009-03-27 20:25:44 +07:00
|
|
|
};
|
|
|
|
|
2009-07-08 18:21:31 +07:00
|
|
|
struct pdev_archdata {
|
2010-04-14 06:13:00 +07:00
|
|
|
u64 dma_mask;
|
2009-07-08 18:21:31 +07:00
|
|
|
};
|
|
|
|
|
2009-03-27 20:25:44 +07:00
|
|
|
#endif /* _ASM_MICROBLAZE_DEVICE_H */
|
|
|
|
|
|
|
|
|