blob: a81e0b0d6747aa2fc56066fe972d1d82df2d714f [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Russell King4baa9922008-08-02 10:55:55 +01003 * arch/arm/include/asm/ide.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 *
5 * Copyright (C) 1994-1996 Linus Torvalds & authors
6 */
7
8/*
Michael Burianeb4e10d2005-06-27 15:58:39 +01009 * This file contains the ARM architecture specific IDE code.
Linus Torvalds1da177e2005-04-16 15:20:36 -070010 */
11
12#ifndef __ASMARM_IDE_H
13#define __ASMARM_IDE_H
14
15#ifdef __KERNEL__
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#define __ide_mm_insw(port,addr,len) readsw(port,addr,len)
18#define __ide_mm_insl(port,addr,len) readsl(port,addr,len)
19#define __ide_mm_outsw(port,addr,len) writesw(port,addr,len)
20#define __ide_mm_outsl(port,addr,len) writesl(port,addr,len)
21
22#endif /* __KERNEL__ */
23
24#endif /* __ASMARM_IDE_H */