!191 roh/core: Add ROH device driver
Merge Pull Request from: @zhengzengkai ``` [Description] The ROH module driver consists of the ROH Core and ROH DRV modules, which work with hardware to implement communication between nodes through HCCS packets. ROH Core is a protocol stack of the ROH architecture. It provides related services for upper layers by invoking operation interfaces provided by the ROH DRV. The ROH DRV implements the lower layer functions of the ROH featureand provides a series of interfaces for operating hardware for the ROH Core. This patch adds ROH device driver support, including: 1. ROH Core initialization 2. Provide roh device registration framework. 3. etc [Testing] kernel options: CONFIG_ROH=m Test passed with below step: 1. load the roh_core.ko # insmod roh_core.ko 2. There is no error when roh_core.ko is loaded, confirm that ko is loaded normally: # lsmod | grep roh_core roh_core 24576 0 - Live 0xffff800008f07000 3. View the sysfs file and confirm that the roh directory has been generated: # ls /sys/class/ | grep roh roh 4.Uninstall roh_core.ko without any errors ``` Link:https://gitee.com/openeuler/kernel/pulls/191 Reviewed-by: Ling Mingqiang <lingmingqiang@huawei.com> Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Showing
drivers/roh/Kconfig
0 → 100644
drivers/roh/Makefile
0 → 100644
drivers/roh/core/Makefile
0 → 100644
drivers/roh/core/core.c
0 → 100644
drivers/roh/core/core.h
0 → 100644
drivers/roh/core/core_priv.h
0 → 100644
drivers/roh/core/main.c
0 → 100644
想要评论请 注册 或 登录