forked from Freescale/linux-fslc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an implementation of Qualcomm's IPC router protocol, used to communicate with service providing remote processors. Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> [bjorn: Cope with 0 being a valid node id and implement RTM_NEWADDR] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Showing
9 changed files
with
1,198 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef _LINUX_QRTR_H | ||
#define _LINUX_QRTR_H | ||
|
||
#include <linux/socket.h> | ||
|
||
struct sockaddr_qrtr { | ||
__kernel_sa_family_t sq_family; | ||
__u32 sq_node; | ||
__u32 sq_port; | ||
}; | ||
|
||
#endif /* _LINUX_QRTR_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,3 +78,4 @@ endif | |
ifneq ($(CONFIG_NET_L3_MASTER_DEV),) | ||
obj-y += l3mdev/ | ||
endif | ||
obj-$(CONFIG_QRTR) += qrtr/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Qualcomm IPC Router configuration | ||
# | ||
|
||
config QRTR | ||
tristate "Qualcomm IPC Router support" | ||
depends on ARCH_QCOM || COMPILE_TEST | ||
---help--- | ||
Say Y if you intend to use Qualcomm IPC router protocol. The | ||
protocol is used to communicate with services provided by other | ||
hardware blocks in the system. | ||
|
||
In order to do service lookups, a userspace daemon is required to | ||
maintain a service listing. | ||
|
||
if QRTR | ||
|
||
config QRTR_SMD | ||
tristate "SMD IPC Router channels" | ||
depends on QCOM_SMD || COMPILE_TEST | ||
---help--- | ||
Say Y here to support SMD based ipcrouter channels. SMD is the | ||
most common transport for IPC Router. | ||
|
||
endif # QRTR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
obj-$(CONFIG_QRTR) := qrtr.o | ||
obj-$(CONFIG_QRTR_SMD) += smd.o |
Oops, something went wrong.