Skip to contentSkip to conversation

Add core firewire stack.

PATCH In review Kristian Høgsberg 2 participants 2 messages Dec 20, 2006 Firewire

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 Add core firewire stack.

---
 drivers/Kconfig                   |    2 
 drivers/Makefile                  |    1 
 drivers/firewire/Kconfig          |   23 +
 drivers/firewire/Makefile         |    7 
 drivers/firewire/fw-card.c        |  384 +++++++++++++++++++
 drivers/firewire/fw-iso.c         |  136 +++++++
 drivers/firewire/fw-topology.c    |  446 +++++++++++++++++++++++
 drivers/firewire/fw-topology.h    |   84 ++++
 drivers/firewire/fw-transaction.c |  730 +++++++++++++++++++++++++++++++++++++
 drivers/firewire/fw-transaction.h |  422 +++++++++++++++++++++
 10 files changed, 2235 insertions(+), 0 deletions(-)
drivers/Kconfig +2 -0
index e7da9fa..c651556 100644
@@ -30,6 +30,8 @@ source "drivers/md/Kconfig"
 
 source "drivers/message/fusion/Kconfig"
 
+source "drivers/firewire/Kconfig"
+
 source "drivers/ieee1394/Kconfig"
 
 source "drivers/message/i2o/Kconfig"
drivers/Makefile +1 -0
index 0dd96d1..719f420 100644
@@ -36,6 +36,7 @@ obj-$(CONFIG_FC4)		+= fc4/
 obj-$(CONFIG_SCSI)		+= scsi/
 obj-$(CONFIG_ATA)		+= ata/
 obj-$(CONFIG_FUSION)		+= message/
+obj-$(CONFIG_FW)		+= firewire/
 obj-$(CONFIG_IEEE1394)		+= ieee1394/
 obj-y				+= cdrom/
 obj-$(CONFIG_MTD)		+= mtd/
drivers/firewire/Kconfig new file +23 -0
new file mode 100644
index 0000000..bdd6303
@@ -0,0 +1,23 @@
+# -*- shell-script -*-
+
+menu "IEEE 1394 (FireWire) support (JUJU alternative stack)"
+
+config FW
+	tristate "IEEE 1394 (FireWire) support (JUJU alternative stack)"
+	help
+	  IEEE 1394 describes a high performance serial bus, which is also
+	  known as FireWire(tm) or i.Link(tm) and is used for connecting all
+	  sorts of devices (most notably digital video cameras) to your
+	  computer.
+
+	  If you have FireWire hardware and want to use it, say Y here.  This
+	  is the core support only, you will also need to select a driver for
+	  your IEEE 1394 adapter.
+
+	  This is the "JUJU" firewire stack, an alternative
+	  implementation designed for roboustness and simplicity.
+
+	  To compile this driver as a module, say M here: the
+	  module will be called fw-core.
+
+endmenu
drivers/firewire/Makefile new file +7 -0
new file mode 100644
index 0000000..db7020d
@@ -0,0 +1,7 @@
+#
+# Makefile for the Linux IEEE 1394 implementation
+#
+
+fw-core-objs := fw-card.o fw-topology.o fw-transaction.o fw-iso.o
+
+obj-$(CONFIG_FW) += fw-core.o
drivers/firewire/fw-card.c new file +384 -0

384 lines not on this page · raw message

drivers/firewire/fw-iso.c new file +136 -0

136 lines not on this page · raw message

drivers/firewire/fw-topology.c new file +446 -0

446 lines not on this page · raw message

drivers/firewire/fw-topology.h new file +84 -0

84 lines not on this page · raw message

drivers/firewire/fw-transaction.c new file +730 -0

730 lines not on this page · raw message

drivers/firewire/fw-transaction.h new file +422 -0

422 lines not on this page · raw message

Signature · 1 line
1.4.2.4
#1 lore raw
Quoted 19 lines · Kristian Høgsberg
---
 drivers/Kconfig                   |    2 
 drivers/Makefile                  |    1 
 drivers/firewire/Kconfig          |   23 +
 drivers/firewire/Makefile         |    7 
 drivers/firewire/fw-card.c        |  384 +++++++++++++++++++
 drivers/firewire/fw-iso.c         |  136 +++++++
 drivers/firewire/fw-topology.c    |  446 +++++++++++++++++++++++
 drivers/firewire/fw-topology.h    |   84 ++++
 drivers/firewire/fw-transaction.c |  730 +++++++++++++++++++++++++++++++++++++
 drivers/firewire/fw-transaction.h |  422 +++++++++++++++++++++
 10 files changed, 2235 insertions(+), 0 deletions(-)
drivers/Kconfig +0 -0
index e7da9fa..c651556 100644

drivers/Kconfig source "drivers/md/Kconfig" · line 37

Quoted 8 lines
drivers/Kconfig +2 -0
@@ -30,6 +30,8 @@ source "drivers/md/Kconfig"
 
 source "drivers/message/fusion/Kconfig"
 
+source "drivers/firewire/Kconfig"
+
 source "drivers/ieee1394/Kconfig"
 
 source "drivers/message/i2o/Kconfig"

[...]

Would anybody mind if I pick this up for linux1394-2.6.git's master branch? --- This would mean it appears in the next -mm.

(Personally, I would prefer it being stuffed into drivers/ieee1394, thus preparing for a _potential_ point in time when the kernel config option of old stack vs. new stack vs. both stacks condenses to a radio button in a single IEEE 1394 config menu, and for a potential brief period during which both stacks live in mainline together that way. But if nobody else complains, I'll include it as drivers/firewire.)

Signature · 3 lines
Stefan Richter
-=====-=-==- ==-- =-=--
http://arcgraph.de/sr/