patch-2.4.0-test1 linux/include/linux/sisfb.h

Next file: linux/include/linux/smp.h
Previous file: linux/include/linux/pci_ids.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre9/linux/include/linux/sisfb.h linux/include/linux/sisfb.h
@@ -0,0 +1,35 @@
+#ifndef _LINUX_SISFB
+#define _LINUX_SISFB
+
+struct sis_memreq
+{
+    unsigned long offset;
+    unsigned long size;
+};
+
+struct video_info
+{
+    /* card parameters */
+    int    chip_id;
+    int    video_size;
+    unsigned long video_base;
+    char  *video_vbase;
+    unsigned long mmio_base;
+    char  *mmio_vbase; 
+    unsigned long vga_base;
+
+    /* mode */
+    int    video_bpp;
+    int    video_width;
+    int    video_height;
+    unsigned int  refresh_rate;
+    u8     status;
+};
+
+#ifdef __KERNEL__
+extern struct video_info ivideo;
+
+extern void sis_malloc(struct sis_memreq *req);
+extern void sis_free(unsigned long base);
+#endif
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)