Loading drivers/char/diag/Kconfig +3 −3 Original line number Diff line number Diff line Loading @@ -25,13 +25,13 @@ config DIAG_OVER_USB Diag traffic from the USB endpoint. config DIAGFWD_BRIDGE_CODE bool "Enable QSC/9K DIAG traffic over SMUX/HSIC" bool "Enable remote DIAG traffic over MHI/HSIC" depends on DIAG_CHAR depends on USB_QCOM_DIAG_BRIDGE || MHI_BUS default y help SMUX/HSIC Transport Layer for DIAG Router. When the MHI/SMUX endpoints MHI/HSIC Transport Layer for DIAG Router. When the MHI/HSIC endpoints become available, this bridge driver enables DIAG traffic over MHI and SMUX. and HSIC. endmenu drivers/char/diag/Makefile +0 −1 Original line number Diff line number Diff line obj-$(CONFIG_DIAG_CHAR) := diagchar.o obj-$(CONFIG_DIAGFWD_BRIDGE_CODE) += diagfwd_bridge.o obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_hsic.o obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_smux.o obj-$(CONFIG_MHI_BUS) += diagfwd_mhi.o diagchar-objs := diagchar_core.o diagchar_hdlc.o diagfwd.o diagfwd_peripheral.o diagfwd_socket.o diagfwd_rpmsg.o diag_mux.o diag_memorydevice.o diag_usb.o diagmem.o diagfwd_cntl.o diag_dci.o diag_masks.o diag_debugfs.o drivers/char/diag/diag_debugfs.c +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ #endif #ifdef CONFIG_USB_QCOM_DIAG_BRIDGE #include "diagfwd_hsic.h" #include "diagfwd_smux.h" #endif #ifdef CONFIG_MHI_BUS #include "diagfwd_mhi.h" Loading drivers/char/diag/diag_memorydevice.c +0 −9 Original line number Diff line number Diff line Loading @@ -59,15 +59,6 @@ struct diag_md_info diag_md[NUM_DIAG_MD_DEV] = { .md_info_inited = 0, .tbl = NULL, .ops = NULL, }, { .id = DIAG_MD_SMUX, .ctx = 0, .mempool = POOL_TYPE_QSC_MUX, .num_tbl_entries = 0, .md_info_inited = 0, .tbl = NULL, .ops = NULL, } #endif }; Loading drivers/char/diag/diag_memorydevice.h +1 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,7 @@ #define DIAG_MD_BRIDGE_BASE DIAG_MD_LOCAL_LAST #define DIAG_MD_MDM (DIAG_MD_BRIDGE_BASE) #define DIAG_MD_MDM2 (DIAG_MD_BRIDGE_BASE + 1) #define DIAG_MD_SMUX (DIAG_MD_BRIDGE_BASE + 2) #define DIAG_MD_BRIDGE_LAST (DIAG_MD_BRIDGE_BASE + 3) #define DIAG_MD_BRIDGE_LAST (DIAG_MD_BRIDGE_BASE + 2) #ifndef CONFIG_DIAGFWD_BRIDGE_CODE #define NUM_DIAG_MD_DEV DIAG_MD_LOCAL_LAST Loading Loading
drivers/char/diag/Kconfig +3 −3 Original line number Diff line number Diff line Loading @@ -25,13 +25,13 @@ config DIAG_OVER_USB Diag traffic from the USB endpoint. config DIAGFWD_BRIDGE_CODE bool "Enable QSC/9K DIAG traffic over SMUX/HSIC" bool "Enable remote DIAG traffic over MHI/HSIC" depends on DIAG_CHAR depends on USB_QCOM_DIAG_BRIDGE || MHI_BUS default y help SMUX/HSIC Transport Layer for DIAG Router. When the MHI/SMUX endpoints MHI/HSIC Transport Layer for DIAG Router. When the MHI/HSIC endpoints become available, this bridge driver enables DIAG traffic over MHI and SMUX. and HSIC. endmenu
drivers/char/diag/Makefile +0 −1 Original line number Diff line number Diff line obj-$(CONFIG_DIAG_CHAR) := diagchar.o obj-$(CONFIG_DIAGFWD_BRIDGE_CODE) += diagfwd_bridge.o obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_hsic.o obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_smux.o obj-$(CONFIG_MHI_BUS) += diagfwd_mhi.o diagchar-objs := diagchar_core.o diagchar_hdlc.o diagfwd.o diagfwd_peripheral.o diagfwd_socket.o diagfwd_rpmsg.o diag_mux.o diag_memorydevice.o diag_usb.o diagmem.o diagfwd_cntl.o diag_dci.o diag_masks.o diag_debugfs.o
drivers/char/diag/diag_debugfs.c +0 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,6 @@ #endif #ifdef CONFIG_USB_QCOM_DIAG_BRIDGE #include "diagfwd_hsic.h" #include "diagfwd_smux.h" #endif #ifdef CONFIG_MHI_BUS #include "diagfwd_mhi.h" Loading
drivers/char/diag/diag_memorydevice.c +0 −9 Original line number Diff line number Diff line Loading @@ -59,15 +59,6 @@ struct diag_md_info diag_md[NUM_DIAG_MD_DEV] = { .md_info_inited = 0, .tbl = NULL, .ops = NULL, }, { .id = DIAG_MD_SMUX, .ctx = 0, .mempool = POOL_TYPE_QSC_MUX, .num_tbl_entries = 0, .md_info_inited = 0, .tbl = NULL, .ops = NULL, } #endif }; Loading
drivers/char/diag/diag_memorydevice.h +1 −2 Original line number Diff line number Diff line Loading @@ -18,8 +18,7 @@ #define DIAG_MD_BRIDGE_BASE DIAG_MD_LOCAL_LAST #define DIAG_MD_MDM (DIAG_MD_BRIDGE_BASE) #define DIAG_MD_MDM2 (DIAG_MD_BRIDGE_BASE + 1) #define DIAG_MD_SMUX (DIAG_MD_BRIDGE_BASE + 2) #define DIAG_MD_BRIDGE_LAST (DIAG_MD_BRIDGE_BASE + 3) #define DIAG_MD_BRIDGE_LAST (DIAG_MD_BRIDGE_BASE + 2) #ifndef CONFIG_DIAGFWD_BRIDGE_CODE #define NUM_DIAG_MD_DEV DIAG_MD_LOCAL_LAST Loading