Skip to contentSkip to conversation

staging: fwserial: Add TTY-over-Firewire serial driver

PATCH Superseded Peter Hurley 1 participant 1 message Oct 18, 2012 1 message not in the archive Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 staging: fwserial: Add TTY-over-Firewire serial driver

This patch provides the kernel driver for high-speed TTY communication over the IEEE 1394 bus.

---
 drivers/staging/Kconfig             |    2 +
 drivers/staging/Makefile            |    1 +
 drivers/staging/fwserial/Kconfig    |    9 +
 drivers/staging/fwserial/Makefile   |    2 +
 drivers/staging/fwserial/TODO       |   89 ++
 drivers/staging/fwserial/dma_fifo.c |  310 ++++
 drivers/staging/fwserial/dma_fifo.h |  130 ++
 drivers/staging/fwserial/fwserial.c | 2885 +++++++++++++++++++++++++++++++++++
 drivers/staging/fwserial/fwserial.h |  355 +++++
 9 files changed, 3783 insertions(+)
 create mode 100644 drivers/staging/fwserial/Kconfig
 create mode 100644 drivers/staging/fwserial/Makefile
 create mode 100644 drivers/staging/fwserial/TODO
 create mode 100644 drivers/staging/fwserial/dma_fifo.c
 create mode 100644 drivers/staging/fwserial/dma_fifo.h
 create mode 100644 drivers/staging/fwserial/fwserial.c
 create mode 100644 drivers/staging/fwserial/fwserial.h
drivers/staging/Kconfig +2 -0
index d805eef..39696d6 100644
@@ -144,4 +144,6 @@ source "drivers/staging/imx-drm/Kconfig"
 
 source "drivers/staging/dgrp/Kconfig"
 
+source "drivers/staging/fwserial/Kconfig"
+
 endif # STAGING
drivers/staging/Makefile +1 -0
index 76e2ebd..5565d5f 100644
@@ -64,3 +64,4 @@ obj-$(CONFIG_NET_VENDOR_SILICOM)	+= silicom/
 obj-$(CONFIG_CED1401)		+= ced1401/
 obj-$(CONFIG_DRM_IMX)		+= imx-drm/
 obj-$(CONFIG_DGRP)		+= dgrp/
+obj-$(CONFIG_FIREWIRE_SERIAL)	+= fwserial/
drivers/staging/fwserial/Kconfig new file +9 -0
new file mode 100644
index 0000000..580406c
@@ -0,0 +1,9 @@
+config FIREWIRE_SERIAL
+       tristate "TTY over Firewire"
+       depends on FIREWIRE
+       help
+          This enables TTY over IEEE 1394, providing high-speed serial
+	  connectivity to cabled peers.
+
+	  To compile this driver as a module, say M here:  the module will
+	  be called firewire-serial.
drivers/staging/fwserial/Makefile new file +2 -0
new file mode 100644
index 0000000..2170869
@@ -0,0 +1,2 @@
+obj-$(CONFIG_FIREWIRE_SERIAL) += firewire-serial.o
+firewire-serial-objs := fwserial.o dma_fifo.o
drivers/staging/fwserial/TODO new file +89 -0

89 lines not on this page · raw message

drivers/staging/fwserial/dma_fifo.c new file +310 -0

310 lines not on this page · raw message

drivers/staging/fwserial/dma_fifo.h new file +130 -0

130 lines not on this page · raw message

drivers/staging/fwserial/fwserial.c new file +2885 -0

2,450 lines not on this page · raw message

drivers/staging/fwserial/fwserial.h new file +355 -0

355 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.12.3

Part of the diff is not shown here. View the raw message.