-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net-caif-driver: add CAIF serial driver (ldisc)
Add CAIF Serial driver. This driver is implemented as a line discipline. caif_serial uses the following module parameters: ser_use_stx - specifies if STart of frame eXtension is in use. ser_loop - sets the interface in loopback mode. Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Sjur Braendeland
authored and
David S. Miller
committed
Mar 31, 2010
1 parent
edc7616
commit 9b27105
Showing
6 changed files
with
475 additions
and
2 deletions.
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
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,17 @@ | ||
# | ||
# CAIF physical drivers | ||
# | ||
|
||
if CAIF | ||
|
||
comment "CAIF transport drivers" | ||
|
||
config CAIF_TTY | ||
tristate "CAIF TTY transport driver" | ||
default n | ||
---help--- | ||
The CAIF TTY transport driver is a Line Discipline (ldisc) | ||
identified as N_CAIF. When this ldisc is opened from user space | ||
it will redirect the TTY's traffic into the CAIF stack. | ||
|
||
endif # CAIF |
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 @@ | ||
ifeq ($(CONFIG_CAIF_DEBUG),1) | ||
CAIF_DBG_FLAGS := -DDEBUG | ||
endif | ||
|
||
KBUILD_EXTRA_SYMBOLS=net/caif/Module.symvers | ||
|
||
ccflags-y := $(CAIF_FLAGS) $(CAIF_DBG_FLAGS) | ||
clean-dirs:= .tmp_versions | ||
clean-files:= Module.symvers modules.order *.cmd *~ \ | ||
|
||
# Serial interface | ||
obj-$(CONFIG_CAIF_TTY) += caif_serial.o |
Oops, something went wrong.