From 5d1646d90e1f2cceb9f0828f4b28318cd0ec7744 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 12:05:51 +0200 Subject: Adding upstream version 5.10.209. Signed-off-by: Daniel Baumann --- include/video/sisfb.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/video/sisfb.h (limited to 'include/video/sisfb.h') diff --git a/include/video/sisfb.h b/include/video/sisfb.h new file mode 100644 index 000000000..76ff628a1 --- /dev/null +++ b/include/video/sisfb.h @@ -0,0 +1,24 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * sisfb.h - definitions for the SiS framebuffer driver + * + * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria. + */ +#ifndef _LINUX_SISFB_H_ +#define _LINUX_SISFB_H_ + + +#include +#include + +#define UNKNOWN_VGA 0 +#define SIS_300_VGA 1 +#define SIS_315_VGA 2 + +#define SISFB_HAVE_MALLOC_NEW +extern void sis_malloc(struct sis_memreq *req); +extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req); + +extern void sis_free(u32 base); +extern void sis_free_new(struct pci_dev *pdev, u32 base); +#endif -- cgit v1.2.3