blob: da01b20aea5959a9c13447dfd30108f4e2c0513a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Stephen Rothwellb354cab2005-11-08 12:20:34 +11002 * Copyright (C) 1994-1996 Linus Torvalds & authors
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
Stephen Rothwellb354cab2005-11-08 12:20:34 +11004 * This file contains the powerpc architecture specific IDE code.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 */
Stephen Rothwellb354cab2005-11-08 12:20:34 +11006#ifndef _ASM_POWERPC_IDE_H
7#define _ASM_POWERPC_IDE_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07008
Adrian Bunk1f490602008-08-18 21:40:03 +02009#include <linux/compiler.h>
Stephen Rothwell73ea9e12006-09-19 17:30:20 +100010#include <asm/io.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Benjamin Herrenschmidt4cb3cee2006-11-11 17:25:10 +110012#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 Rothwell73ea9e12006-09-19 17:30:20 +100016
Stephen Rothwellb354cab2005-11-08 12:20:34 +110017#endif /* _ASM_POWERPC_IDE_H */