xref: /linux/include/video/sisfb.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * sisfb.h - definitions for the SiS framebuffer driver
4  *
5  * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria.
6  */
7 #ifndef _LINUX_SISFB_H_
8 #define _LINUX_SISFB_H_
9 
10 
11 #include <linux/pci.h>
12 #include <uapi/video/sisfb.h>
13 
14 #define	UNKNOWN_VGA  0
15 #define	SIS_300_VGA  1
16 #define	SIS_315_VGA  2
17 
18 #define SISFB_HAVE_MALLOC_NEW
19 extern void sis_malloc(struct sis_memreq *req);
20 extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req);
21 
22 extern void sis_free(u32 base);
23 extern void sis_free_new(struct pci_dev *pdev, u32 base);
24 #endif
25