License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / arch / m68k / include / asm / vga.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
5c3f9687
GU
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 */