Staging: most: add MOST driver's hdm-usb module
This patch adds the hdm-usb module of the MOST driver to the kernel's driver staging area. This module is part of the MOST driver and handles the USB interface of the MOST network interface controller. This patch is needed in order to use the USB peripheral interface of the network interface controller. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
91a450ada8
commit
a4198cdf0c
|
@ -25,4 +25,6 @@ source "drivers/staging/most/hdm-dim2/Kconfig"
|
|||
|
||||
source "drivers/staging/most/hdm-i2c/Kconfig"
|
||||
|
||||
source "drivers/staging/most/hdm-usb/Kconfig"
|
||||
|
||||
endif
|
||||
|
|
|
@ -5,3 +5,4 @@ obj-$(CONFIG_AIM_SOUND) += aim-sound/
|
|||
obj-$(CONFIG_AIM_V4L2) += aim-v4l2/
|
||||
obj-$(CONFIG_HDM_DIM2) += hdm-dim2/
|
||||
obj-$(CONFIG_HDM_I2C) += hdm-i2c/
|
||||
obj-$(CONFIG_HDM_USB) += hdm-usb/
|
||||
|
|
14
drivers/staging/most/hdm-usb/Kconfig
Normal file
14
drivers/staging/most/hdm-usb/Kconfig
Normal file
|
@ -0,0 +1,14 @@
|
|||
#
|
||||
# MOST USB configuration
|
||||
#
|
||||
|
||||
config HDM_USB
|
||||
tristate "USB HDM"
|
||||
depends on USB
|
||||
select AIM_NETWORK
|
||||
---help---
|
||||
Say Y here if you want to connect via USB to network tranceiver.
|
||||
This device driver depends on the networking AIM.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called hdm_usb.
|
4
drivers/staging/most/hdm-usb/Makefile
Normal file
4
drivers/staging/most/hdm-usb/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
obj-$(CONFIG_HDM_USB) += hdm_usb.o
|
||||
|
||||
ccflags-y += -Idrivers/staging/most/mostcore/
|
||||
ccflags-y += -Idrivers/staging/most/aim-network/
|
1442
drivers/staging/most/hdm-usb/hdm_usb.c
Normal file
1442
drivers/staging/most/hdm-usb/hdm_usb.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue