1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Copyright (C) 1994-1996 Linus Torvalds & authors 4 * 5 * This file contains the powerpc architecture specific IDE code. 6 */ 7 #ifndef _ASM_POWERPC_IDE_H 8 #define _ASM_POWERPC_IDE_H 9 10 #include <linux/compiler.h> 11 #include <asm/io.h> 12 13 #define __ide_mm_insw(p, a, c) readsw((void __iomem *)(p), (a), (c)) 14 #define __ide_mm_insl(p, a, c) readsl((void __iomem *)(p), (a), (c)) 15 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c)) 16 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c)) 17 18 #endif /* _ASM_POWERPC_IDE_H */