Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Russell King | 4baa992 | 2008-08-02 10:55:55 +0100 | [diff] [blame] | 3 | * arch/arm/include/asm/ide.h |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
| 5 | * Copyright (C) 1994-1996 Linus Torvalds & authors |
| 6 | */ |
| 7 | |
| 8 | /* |
Michael Burian | eb4e10d | 2005-06-27 15:58:39 +0100 | [diff] [blame] | 9 | * This file contains the ARM architecture specific IDE code. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #ifndef __ASMARM_IDE_H |
| 13 | #define __ASMARM_IDE_H |
| 14 | |
| 15 | #ifdef __KERNEL__ |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #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 */ |