Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

soc: qcom: ipa: support build of IPA code

Add build and Kconfig support for the Qualcomm IPA driver.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Alex Elder and committed by
David S. Miller
08120d23 530f9216

+34
+2
drivers/net/Kconfig
··· 444 444 445 445 source "drivers/net/hippi/Kconfig" 446 446 447 + source "drivers/net/ipa/Kconfig" 448 + 447 449 config NET_SB1000 448 450 tristate "General Instruments Surfboard 1000" 449 451 depends on PNP
+1
drivers/net/Makefile
··· 47 47 obj-$(CONFIG_FDDI) += fddi/ 48 48 obj-$(CONFIG_HIPPI) += hippi/ 49 49 obj-$(CONFIG_HAMRADIO) += hamradio/ 50 + obj-$(CONFIG_QCOM_IPA) += ipa/ 50 51 obj-$(CONFIG_PLIP) += plip/ 51 52 obj-$(CONFIG_PPP) += ppp/ 52 53 obj-$(CONFIG_PPP_ASYNC) += ppp/
+19
drivers/net/ipa/Kconfig
··· 1 + config QCOM_IPA 2 + tristate "Qualcomm IPA support" 3 + depends on ARCH_QCOM && 64BIT && NET 4 + select QCOM_QMI_HELPERS 5 + select QCOM_MDT_LOADER 6 + default QCOM_Q6V5_COMMON 7 + help 8 + Choose Y or M here to include support for the Qualcomm 9 + IP Accelerator (IPA), a hardware block present in some 10 + Qualcomm SoCs. The IPA is a programmable protocol processor 11 + that is capable of generic hardware handling of IP packets, 12 + including routing, filtering, and NAT. Currently the IPA 13 + driver supports only basic transport of network traffic 14 + between the AP and modem, on the Qualcomm SDM845 SoC. 15 + 16 + Note that if selected, the selection type must match that 17 + of QCOM_Q6V5_COMMON (Y or M). 18 + 19 + If unsure, say N.
+12
drivers/net/ipa/Makefile
··· 1 + # Un-comment the next line if you want to validate configuration data 2 + #ccflags-y += -DIPA_VALIDATE 3 + 4 + obj-$(CONFIG_QCOM_IPA) += ipa.o 5 + 6 + ipa-y := ipa_main.o ipa_clock.o ipa_reg.o ipa_mem.o \ 7 + ipa_table.o ipa_interrupt.o gsi.o gsi_trans.o \ 8 + ipa_gsi.o ipa_smp2p.o ipa_uc.o \ 9 + ipa_endpoint.o ipa_cmd.o ipa_modem.o \ 10 + ipa_qmi.o ipa_qmi_msg.o 11 + 12 + ipa-y += ipa_data-sdm845.o ipa_data-sc7180.o