2005-04-16 15:20:36 -07:00
|
|
|
/*
|
2005-11-08 12:20:34 +11:00
|
|
|
* Copyright (C) 1994-1996 Linus Torvalds & authors
|
2005-04-16 15:20:36 -07:00
|
|
|
*
|
2005-11-08 12:20:34 +11:00
|
|
|
* This file contains the powerpc architecture specific IDE code.
|
2005-04-16 15:20:36 -07:00
|
|
|
*/
|
2005-11-08 12:20:34 +11:00
|
|
|
#ifndef _ASM_POWERPC_IDE_H
|
|
|
|
|
#define _ASM_POWERPC_IDE_H
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-08-18 21:40:03 +02:00
|
|
|
#include <linux/compiler.h>
|
2006-09-19 17:30:20 +10:00
|
|
|
#include <asm/io.h>
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-11-11 17:25:10 +11:00
|
|
|
#define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c))
|
|
|
|
|
#define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c))
|
|
|
|
|
#define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c))
|
|
|
|
|
#define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c))
|
2006-09-19 17:30:20 +10:00
|
|
|
|
2005-11-08 12:20:34 +11:00
|
|
|
#endif /* _ASM_POWERPC_IDE_H */
|