1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ASM_M68K_VGA_H 3 #define _ASM_M68K_VGA_H 4 5 /* 6 * Some ColdFire platforms do in fact have a P 7 * to use the real IO access functions, don't 8 * for that case. 9 */ 10 #ifndef CONFIG_PCI 11 12 #include <asm/raw_io.h> 13 #include <asm/kmap.h> 14 15 /* 16 * FIXME 17 * Ugh, we don't have PCI space, so map readb( 18 * accessors, which are identical to the z_*() 19 * This should make cirrusfb work again on Ami 20 */ 21 #undef inb_p 22 #undef inw_p 23 #undef outb_p 24 #undef outw 25 #undef readb 26 #undef writeb 27 #undef writew 28 #define inb_p(port) 0 29 #define inw_p(port) 0 30 #define outb_p(port, val) do { } while ( 31 #define outw(port, val) do { } while ( 32 #define readb raw_inb 33 #define writeb raw_outb 34 #define writew raw_outw 35 36 #endif /* CONFIG_PCI */ 37 #endif /* _ASM_M68K_VGA_H */ 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.