1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_M68K_VGA_H 3 #define _ASM_M68K_VGA_H 4 5 #include <asm/raw_io.h> 6 7 /* 8 * FIXME 9 * Ugh, we don't have PCI space, so map readb() and friends to use raw I/O 10 * accessors, which are identical to the z_*() Zorro bus accessors. 11 * This should make cirrusfb work again on Amiga 12 */ 13 #undef inb_p 14 #undef inw_p 15 #undef outb_p 16 #undef outw 17 #undef readb 18 #undef writeb 19 #undef writew 20 #define inb_p(port) 0 21 #define inw_p(port) 0 22 #define outb_p(port, val) do { } while (0) 23 #define outw(port, val) do { } while (0) 24 #define readb raw_inb 25 #define writeb raw_outb 26 #define writew raw_outw 27 28 #endif /* _ASM_M68K_VGA_H */ 29