unify {de,}mangle_poll(), get rid of kernel-side POLL...
[cris-mirror.git] / arch / m68k / include / asm / vga.h
blob010a624d1b39e91b0f21ae185a51f914f09fe12a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M68K_VGA_H
3 #define _ASM_M68K_VGA_H
5 #include <asm/raw_io.h>
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
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
28 #endif /* _ASM_M68K_VGA_H */