mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
ceea934448
This patch adds the character device (cdev) driver source file most_cdev.c and modifies the Makefiles and Kconfigs accordingly. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Link: https://lore.kernel.org/r/1597922595-27493-1-git-send-email-christian.gromm@microchip.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
36 lines
946 B
Plaintext
36 lines
946 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
menuconfig MOST
|
|
tristate "MOST support"
|
|
depends on HAS_DMA && CONFIGFS_FS
|
|
default n
|
|
help
|
|
Say Y here if you want to enable MOST support.
|
|
This driver needs at least one additional component to enable the
|
|
desired access from userspace (e.g. character devices) and one that
|
|
matches the network controller's hardware interface (e.g. USB).
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called most_core.
|
|
|
|
If in doubt, say N here.
|
|
|
|
if MOST
|
|
config MOST_USB_HDM
|
|
tristate "USB"
|
|
depends on USB
|
|
help
|
|
Say Y here if you want to connect via USB to network transceiver.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called most_usb.
|
|
|
|
config MOST_CDEV
|
|
tristate "Cdev"
|
|
|
|
help
|
|
Say Y here if you want to commumicate via character devices.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called most_cdev.
|
|
endif
|