| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) |
|---|
| 1 | +/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * sisusb - usb kernel driver for Net2280/SiS315 based USB2VGA dongles |
|---|
| 4 | 4 | * |
|---|
| .. | .. |
|---|
| 38 | 38 | #ifndef _SISUSB_H_ |
|---|
| 39 | 39 | #define _SISUSB_H_ |
|---|
| 40 | 40 | |
|---|
| 41 | | -#ifdef CONFIG_COMPAT |
|---|
| 42 | | -#define SISUSB_NEW_CONFIG_COMPAT |
|---|
| 43 | | -#endif |
|---|
| 44 | | - |
|---|
| 45 | 41 | #include <linux/mutex.h> |
|---|
| 46 | | - |
|---|
| 47 | | -/* For older kernels, support for text consoles is by default |
|---|
| 48 | | - * off. To enable text console support, change the following: |
|---|
| 49 | | - */ |
|---|
| 50 | | -/* #define CONFIG_USB_SISUSBVGA_CON */ |
|---|
| 51 | 42 | |
|---|
| 52 | 43 | /* Version Information */ |
|---|
| 53 | 44 | |
|---|
| .. | .. |
|---|
| 56 | 47 | #define SISUSB_PATCHLEVEL 8 |
|---|
| 57 | 48 | |
|---|
| 58 | 49 | /* Include console and mode switching code? */ |
|---|
| 59 | | - |
|---|
| 60 | | -#ifdef CONFIG_USB_SISUSBVGA_CON |
|---|
| 61 | | -#define INCL_SISUSB_CON 1 |
|---|
| 62 | | -#endif |
|---|
| 63 | 50 | |
|---|
| 64 | 51 | #include <linux/console.h> |
|---|
| 65 | 52 | #include <linux/vt_kern.h> |
|---|
| .. | .. |
|---|
| 139 | 126 | unsigned char gfxinit; /* graphics core initialized? */ |
|---|
| 140 | 127 | unsigned short chipid, chipvendor; |
|---|
| 141 | 128 | unsigned short chiprevision; |
|---|
| 142 | | -#ifdef INCL_SISUSB_CON |
|---|
| 129 | +#ifdef CONFIG_USB_SISUSBVGA_CON |
|---|
| 143 | 130 | struct SiS_Private *SiS_Pr; |
|---|
| 144 | 131 | unsigned long scrbuf; |
|---|
| 145 | 132 | unsigned int scrbuf_size; |
|---|