Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *  Copyright (C) 1994-1996 Linus Torvalds & authors
0004  *
0005  *  This file contains the powerpc architecture specific IDE code.
0006  */
0007 #ifndef _ASM_POWERPC_IDE_H
0008 #define _ASM_POWERPC_IDE_H
0009 
0010 #include <linux/compiler.h>
0011 #include <asm/io.h>
0012 
0013 #define __ide_mm_insw(p, a, c)  readsw((void __iomem *)(p), (a), (c))
0014 #define __ide_mm_insl(p, a, c)  readsl((void __iomem *)(p), (a), (c))
0015 #define __ide_mm_outsw(p, a, c) writesw((void __iomem *)(p), (a), (c))
0016 #define __ide_mm_outsl(p, a, c) writesl((void __iomem *)(p), (a), (c))
0017 
0018 #endif /* _ASM_POWERPC_IDE_H */