Commit 7effd867 authored by Ke Chen's avatar Ke Chen Committed by JangShui Yang
Browse files

roh/core: Add ROH device driver

driver inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I9C19A



-----------------------------------------------------------------------

Add ROH device driver support, include:
1. roh core initialization
2. provide a registration framework for roh device.
3. etc.

Signed-off-by: default avatarKe Chen <chenke54@huawei.com>
Reviewed-by: default avatarGang Zhang <gang.zhang@huawei.com>
Reviewed-by: default avatarYefeng Yan <yanyefeng@huawei.com>
Reviewed-by: default avatarJingchao Dai <daijingchao1@huawei.com>
parent 75179831
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -247,4 +247,6 @@ source "drivers/cdx/Kconfig"

source "drivers/cpuinspect/Kconfig"

source "drivers/roh/Kconfig"

endmenu
+2 −0
Original line number Diff line number Diff line
@@ -201,3 +201,5 @@ obj-$(CONFIG_DRM_ACCEL) += accel/
obj-$(CONFIG_CDX_BUS)		+= cdx/

obj-$(CONFIG_S390)		+= s390/

obj-$(CONFIG_ROH)		+= roh/

drivers/roh/Kconfig

0 → 100644
+18 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+

menuconfig ROH
	tristate "ROH support"
	depends on HAS_IOMEM && HAS_DMA
	depends on NET
	depends on INET
	depends on ARM64
	depends on NET_VENDOR_HISILICON
	depends on m
	select IRQ_POLL
	select DIMLIB
	help
	  Core support for ROH.  Make sure to also select
	  any protocols you wish to use as well as drivers
	  for your ROH hardware.

	  To compile ROH core as module, choose M here.

drivers/roh/Makefile

0 → 100644
+6 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+
#
# Makefile for the Linux kernel ROH device drivers.
#

obj-$(CONFIG_ROH)		+= core/
+7 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0+
#
# Makefile for the Linux kernel ROH Core drivers.
#

roh_core-objs := main.o core.o
obj-$(CONFIG_ROH) += roh_core.o
Loading