summaryrefslogtreecommitdiffstats
path: root/include/asm-xtensa/vga.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-08-29 22:40:27 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-08-29 22:40:27 +0200
commitc1b054d03f5b31c33eaa0b267c629b118eaf3790 (patch)
tree9333907ca767be24fcb3667877242976c3e3c8dd /include/asm-xtensa/vga.h
parentUpdate Chelsio gige net driver. (diff)
parent[PATCH] missing include in smc-ultra (diff)
downloadlinux-c1b054d03f5b31c33eaa0b267c629b118eaf3790.tar.xz
linux-c1b054d03f5b31c33eaa0b267c629b118eaf3790.zip
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/asm-xtensa/vga.h')
-rw-r--r--include/asm-xtensa/vga.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/asm-xtensa/vga.h b/include/asm-xtensa/vga.h
new file mode 100644
index 000000000000..23d82f6acb57
--- /dev/null
+++ b/include/asm-xtensa/vga.h
@@ -0,0 +1,19 @@
+/*
+ * include/asm-xtensa/vga.h
+ *
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License. See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2001 - 2005 Tensilica Inc.
+ */
+
+#ifndef _XTENSA_VGA_H
+#define _XTENSA_VGA_H
+
+#define VGA_MAP_MEM(x) (unsigned long)phys_to_virt(x)
+
+#define vga_readb(x) (*(x))
+#define vga_writeb(x,y) (*(y) = (x))
+
+#endif