Thomas Gleixner | 5e0f8ad | 2019-05-20 19:07:52 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | /* |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 3 | * sisfb.h - definitions for the SiS framebuffer driver |
| 4 | * |
| 5 | * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | */ |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 7 | #ifndef _LINUX_SISFB_H_ |
| 8 | #define _LINUX_SISFB_H_ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 10 | |
| 11 | #include <linux/pci.h> |
David Howells | b889fcf | 2012-12-20 17:14:26 +0000 | [diff] [blame] | 12 | #include <uapi/video/sisfb.h> |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 13 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | #define UNKNOWN_VGA 0 |
| 15 | #define SIS_300_VGA 1 |
| 16 | #define SIS_315_VGA 2 |
| 17 | |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 18 | #define SISFB_HAVE_MALLOC_NEW |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | extern void sis_malloc(struct sis_memreq *req); |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 20 | extern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req); |
| 21 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | extern void sis_free(u32 base); |
Thomas Winischhofer | 544393f | 2005-09-09 13:04:45 -0700 | [diff] [blame] | 23 | extern void sis_free_new(struct pci_dev *pdev, u32 base); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | #endif |