18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciconfig USB_SISUSBVGA
48c2ecf20Sopenharmony_ci	tristate "USB 2.0 SVGA dongle support (Net2280/SiS315)"
58c2ecf20Sopenharmony_ci	depends on (USB_MUSB_HDRC || USB_EHCI_HCD)
68c2ecf20Sopenharmony_ci	select FONT_SUPPORT if USB_SISUSBVGA_CON
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  Say Y here if you intend to attach a USB2VGA dongle based on a
98c2ecf20Sopenharmony_ci	  Net2280 and a SiS315 chip.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci	  Note that this device requires a USB 2.0 host controller. It will not
128c2ecf20Sopenharmony_ci	  work with USB 1.x controllers.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here; the module will be
158c2ecf20Sopenharmony_ci	  called sisusbvga. If unsure, say N.
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciconfig USB_SISUSBVGA_CON
188c2ecf20Sopenharmony_ci	bool "Text console and mode switching support" if USB_SISUSBVGA
198c2ecf20Sopenharmony_ci	depends on VT && BROKEN
208c2ecf20Sopenharmony_ci	select FONT_8x16
218c2ecf20Sopenharmony_ci	help
228c2ecf20Sopenharmony_ci	  Say Y here if you want a VGA text console via the USB dongle or
238c2ecf20Sopenharmony_ci	  want to support userland applications that utilize the driver's
248c2ecf20Sopenharmony_ci	  display mode switching capabilities.
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	  Note that this console supports VGA/EGA text mode only.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci	  By default, the console part of the driver will not kick in when
298c2ecf20Sopenharmony_ci	  the driver is initialized. If you want the driver to take over
308c2ecf20Sopenharmony_ci	  one or more of the consoles, you need to specify the number of
318c2ecf20Sopenharmony_ci	  the first and last consoles (starting at 1) as driver parameters.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci	  For example, if the driver is compiled as a module:
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	     modprobe sisusbvga first=1 last=5
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci	  If you use hotplug, add this to your modutils config files with
388c2ecf20Sopenharmony_ci	  the "options" keyword, such as eg.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ci	     options sisusbvga first=1 last=5
418c2ecf20Sopenharmony_ci
428c2ecf20Sopenharmony_ci	  If the driver is compiled into the kernel image, the parameters
438c2ecf20Sopenharmony_ci	  must be given in the kernel command like, such as
448c2ecf20Sopenharmony_ci
458c2ecf20Sopenharmony_ci	     sisusbvga.first=1 sisusbvga.last=5
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci
49