| * linux/include/asm-m68k/ide.h |
| * Copyright (C) 1994-1996 Linus Torvalds & authors |
| /* Copyright(c) 1996 Kars de Jong */ |
| /* Based on the ide driver from 1.2.13pl8 */ |
| * Credits (alphabetical): |
| * Get rid of defs from io.h - ide has its private and conflicting versions |
| * Since so far no single m68k platform uses ISA/PCI I/O space for IDE, we |
| * always use the `raw' MMIO versions |
| #define __ide_mm_insw(port, addr, n) raw_insw((u16 *)port, addr, n) |
| #define __ide_mm_insl(port, addr, n) raw_insl((u32 *)port, addr, n) |
| #define writeb(val, port) out_8(port, val) |
| #define writew(val, port) out_be16(port, val) |
| #define __ide_mm_outsw(port, addr, n) raw_outsw((u16 *)port, addr, n) |
| #define __ide_mm_outsl(port, addr, n) raw_outsl((u32 *)port, addr, n) |