powerpc/mm/hash64: Map all the kernel regions in the same 0xc range
[linux-2.6-block.git] / arch / powerpc / include / asm / ide.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4 2/*
b354cab0 3 * Copyright (C) 1994-1996 Linus Torvalds & authors
1da177e4 4 *
b354cab0 5 * This file contains the powerpc architecture specific IDE code.
1da177e4 6 */
b354cab0
SR
7#ifndef _ASM_POWERPC_IDE_H
8#define _ASM_POWERPC_IDE_H
1da177e4 9
1f49060a 10#include <linux/compiler.h>
73ea9e1b 11#include <asm/io.h>
1da177e4 12
4cb3cee0
BH
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))
73ea9e1b 17
b354cab0 18#endif /* _ASM_POWERPC_IDE_H */