Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Stephen Rothwell | b354cab | 2005-11-08 12:20:34 +1100 | [diff] [blame] | 2 | * Copyright (C) 1994-1996 Linus Torvalds & authors |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | * |
Stephen Rothwell | b354cab | 2005-11-08 12:20:34 +1100 | [diff] [blame] | 4 | * This file contains the powerpc architecture specific IDE code. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | */ |
Stephen Rothwell | b354cab | 2005-11-08 12:20:34 +1100 | [diff] [blame] | 6 | #ifndef _ASM_POWERPC_IDE_H |
| 7 | #define _ASM_POWERPC_IDE_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
Adrian Bunk | 1f49060 | 2008-08-18 21:40:03 +0200 | [diff] [blame] | 9 | #include <linux/compiler.h> |
Stephen Rothwell | 73ea9e1 | 2006-09-19 17:30:20 +1000 | [diff] [blame] | 10 | #include <asm/io.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Benjamin Herrenschmidt | 4cb3cee | 2006-11-11 17:25:10 +1100 | [diff] [blame] | 12 | #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) |
| 13 | #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) |
| 14 | #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) |
| 15 | #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) |
Stephen Rothwell | 73ea9e1 | 2006-09-19 17:30:20 +1000 | [diff] [blame] | 16 | |
Stephen Rothwell | b354cab | 2005-11-08 12:20:34 +1100 | [diff] [blame] | 17 | #endif /* _ASM_POWERPC_IDE_H */ |