b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * arch/arm/include/asm/ide.h |
| 4 | * |
| 5 | * Copyright (C) 1994-1996 Linus Torvalds & authors |
| 6 | */ |
| 7 | |
| 8 | /* |
| 9 | * This file contains the ARM architecture specific IDE code. |
| 10 | */ |
| 11 | |
| 12 | #ifndef __ASMARM_IDE_H |
| 13 | #define __ASMARM_IDE_H |
| 14 | |
| 15 | #ifdef __KERNEL__ |
| 16 | |
| 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 */ |