patch-2.1.109 linux/drivers/video/promfb.h

Next file: linux/drivers/video/retz3fb.c
Previous file: linux/drivers/video/promfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.108/linux/drivers/video/promfb.h linux/drivers/video/promfb.h
@@ -0,0 +1,28 @@
+/* $Id: promfb.h,v 1.1 1998/07/05 22:50:43 ecd Exp $
+ *
+ * Copyright (C) 1998  Eddie C. Dost  (ecd@skynet.be)
+ */
+
+#ifndef _PROMFB_H
+#define _PROMFB_H 1
+
+#include <asm/oplib.h>
+
+#include "fbcon.h"
+
+struct fb_info_promfb {
+	struct fb_info info;
+	struct fb_fix_screeninfo fix;
+	struct fb_var_screeninfo var;
+	struct display disp;
+	struct display_switch dispsw;
+	int node;
+	unsigned short *data;
+	int curx, cury;
+	int maxx, maxy;
+};
+
+#define promfbinfo(info)	((struct fb_info_promfb *)(info))
+#define promfbinfod(disp)	((struct fb_info_promfb *)(disp->fb_info))
+
+#endif /* !(_PROM_FB_H) */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov