1
2 #ifndef _ASM_M68K_VGA_H
3 #define _ASM_M68K_VGA_H
4
5
6
7
8
9
10 #ifndef CONFIG_PCI
11
12 #include <asm/raw_io.h>
13 #include <asm/kmap.h>
14
15
16
17
18
19
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 (0)
31 #define outw(port, val) do { } while (0)
32 #define readb raw_inb
33 #define writeb raw_outb
34 #define writew raw_outw
35
36 #endif
37 #endif