summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vb_util.h
diff options
context:
space:
mode:
authorapatard@mandriva.com <apatard@mandriva.com>2010-05-19 10:44:14 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-06-04 13:38:51 -0700
commitd7636e0b0769e0f4f437ff33168d723f86e7c080 (patch)
tree0c0034d98e4409f5347ce8abbf1af479fd8b150d /drivers/staging/xgifb/vb_util.h
parentad8456361fa19068cf49b50a4f98e41b73c08e76 (diff)
downloadop-kernel-dev-d7636e0b0769e0f4f437ff33168d723f86e7c080.zip
op-kernel-dev-d7636e0b0769e0f4f437ff33168d723f86e7c080.tar.gz
staging: Add framebuffer driver for XGI chipsets
This driver handles XG20, XG21, XG40, XG42 chipsets from XGI. They're also known as Z7,Z9,Z11 chipsets. It's based on the SiS fb driver but has been heavily modified by XGI to support their newer chipsets. Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/xgifb/vb_util.h')
-rw-r--r--drivers/staging/xgifb/vb_util.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/staging/xgifb/vb_util.h b/drivers/staging/xgifb/vb_util.h
new file mode 100644
index 0000000..91779d8
--- /dev/null
+++ b/drivers/staging/xgifb/vb_util.h
@@ -0,0 +1,15 @@
+#ifndef _VBUTIL_
+#define _VBUTIL_
+extern void NewDelaySeconds( int );
+extern void Newdebugcode( UCHAR );
+extern void XGINew_SetReg1(ULONG, USHORT, USHORT);
+extern void XGINew_SetReg3(ULONG, USHORT);
+extern UCHAR XGINew_GetReg1(ULONG, USHORT);
+extern UCHAR XGINew_GetReg2(ULONG);
+extern void XGINew_SetReg4(ULONG, ULONG);
+extern ULONG XGINew_GetReg3(ULONG);
+extern void XGINew_SetRegOR(ULONG Port,USHORT Index,USHORT DataOR);
+extern void XGINew_SetRegAND(ULONG Port,USHORT Index,USHORT DataAND);
+extern void XGINew_SetRegANDOR(ULONG Port,USHORT Index,USHORT DataAND,USHORT DataOR);
+#endif
+
OpenPOWER on IntegriCloud