xref: /openbmc/linux/drivers/usb/misc/sisusbvga/Kconfig (revision 023e4163)
1# SPDX-License-Identifier: GPL-2.0
2
3config USB_SISUSBVGA
4	tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)"
5	depends on (USB_MUSB_HDRC || USB_EHCI_HCD)
6	select FONT_SUPPORT if USB_SISUSBVGA_CON
7        ---help---
8	  Say Y here if you intend to attach a USB2VGA dongle based on a
9	  Net2280 and a SiS315 chip.
10
11	  Note that this device requires a USB 2.0 host controller. It will not
12	  work with USB 1.x controllers.
13
14	  To compile this driver as a module, choose M here; the module will be
15	  called sisusbvga. If unsure, say N.
16
17config USB_SISUSBVGA_CON
18	bool "Text console and mode switching support" if USB_SISUSBVGA
19	depends on VT
20	select FONT_8x16
21	---help---
22	  Say Y here if you want a VGA text console via the USB dongle or
23	  want to support userland applications that utilize the driver's
24	  display mode switching capabilities.
25
26	  Note that this console supports VGA/EGA text mode only.
27
28	  By default, the console part of the driver will not kick in when
29	  the driver is initialized. If you want the driver to take over
30	  one or more of the consoles, you need to specify the number of
31	  the first and last consoles (starting at 1) as driver parameters.
32
33	  For example, if the driver is compiled as a module:
34
35	     modprobe sisusbvga first=1 last=5
36
37	  If you use hotplug, add this to your modutils config files with
38	  the "options" keyword, such as eg.
39
40	     options sisusbvga first=1 last=5
41
42	  If the driver is compiled into the kernel image, the parameters
43	  must be given in the kernel command like, such as
44
45	     sisusbvga.first=1 sisusbvga.last=5
46
47
48
49