Skip to content

Commit 0c53dec

Browse files
author
Stefan Richter
committed
firewire: new stack is no longer experimental
The new stack is now recommended over the old one if used for industrial video (IIDC/DCAM) or for storage devices (SBP-2) due to better performance, improved compatibility, added features, and security. It should also be functionally on par with and is more secure than the old ieee1394 stack in the use case of consumer video devices. IP-over-1394 support for the new stack is currently emerging, and a backend of the firedtv DVB driver to the new stack should be available soon. The one remaining area where the old stack is still required are audio devices, as the new stack is not yet able to support the FFADO FireWire audio framework. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
1 parent 00635b8 commit 0c53dec

2 files changed

Lines changed: 30 additions & 41 deletions

File tree

‎drivers/firewire/Kconfig‎

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
1-
comment "A new alternative FireWire stack is available with EXPERIMENTAL=y"
2-
depends on EXPERIMENTAL=n
3-
4-
comment "Enable only one of the two stacks, unless you know what you are doing"
5-
depends on EXPERIMENTAL
1+
comment "You can enable one or both FireWire driver stacks."
2+
comment "See the help texts for more information."
63

74
config FIREWIRE
8-
tristate "New FireWire stack, EXPERIMENTAL"
9-
depends on EXPERIMENTAL
5+
tristate "FireWire driver stack"
106
select CRC_ITU_T
117
help
12-
This is the "Juju" FireWire stack, a new alternative implementation
13-
designed for robustness and simplicity. You can build either this
14-
stack, or the old stack (the ieee1394 driver, ohci1394 etc.) or both.
15-
Please read http://ieee1394.wiki.kernel.org/index.php/Juju_Migration
16-
before you enable the new stack.
8+
This is the new-generation IEEE 1394 (FireWire) driver stack
9+
a.k.a. Juju, a new implementation designed for robustness and
10+
simplicity.
11+
See http://ieee1394.wiki.kernel.org/index.php/Juju_Migration
12+
for information about migration from the older Linux 1394 stack
13+
to the new driver stack.
1714

1815
To compile this driver as a module, say M here: the module will be
1916
called firewire-core.
2017

2118
This module functionally replaces ieee1394, raw1394, and video1394.
2219
To access it from application programs, you generally need at least
23-
libraw1394 version 2. IIDC/DCAM applications also need libdc1394
24-
version 2. No libraries are required to access storage devices
25-
through the firewire-sbp2 driver.
20+
libraw1394 v2. IIDC/DCAM applications need libdc1394 v2.
21+
No libraries are required to access storage devices through the
22+
firewire-sbp2 driver.
23+
24+
NOTE:
25+
FireWire audio devices currently require the old drivers (ieee1394,
26+
ohci1394, raw1394).
2627

2728
config FIREWIRE_OHCI
2829
tristate "OHCI-1394 controllers"
@@ -37,11 +38,9 @@ config FIREWIRE_OHCI
3738
stack.
3839

3940
NOTE:
40-
41-
You should only build either firewire-ohci or the old ohci1394 driver,
42-
but not both. If you nevertheless want to install both, you should
43-
configure them only as modules and blacklist the driver(s) which you
44-
don't want to have auto-loaded. Add either
41+
If you want to install firewire-ohci and ohci1394 together, you
42+
should configure them only as modules and blacklist the driver(s)
43+
which you don't want to have auto-loaded. Add either
4544

4645
blacklist firewire-ohci
4746
or
@@ -50,12 +49,7 @@ config FIREWIRE_OHCI
5049
blacklist dv1394
5150

5251
to /etc/modprobe.conf or /etc/modprobe.d/* and update modprobe.conf
53-
depending on your distribution. The latter two modules should be
54-
blacklisted together with ohci1394 because they depend on ohci1394.
55-
56-
If you have an old modprobe which doesn't implement the blacklist
57-
directive, use "install modulename /bin/true" for the modules to be
58-
blacklisted.
52+
depending on your distribution.
5953

6054
config FIREWIRE_OHCI_DEBUG
6155
bool
@@ -79,13 +73,15 @@ config FIREWIRE_SBP2
7973
configuration section.
8074

8175
config FIREWIRE_NET
82-
tristate "IP networking over 1394"
83-
depends on FIREWIRE && INET
76+
tristate "IP networking over 1394 (EXPERIMENTAL)"
77+
depends on FIREWIRE && INET && EXPERIMENTAL
8478
help
8579
This enables IPv4 over IEEE 1394, providing IP connectivity with
8680
other implementations of RFC 2734 as found on several operating
8781
systems. Multicast support is currently limited.
8882

83+
NOTE, this driver is not stable yet!
84+
8985
To compile this driver as a module, say M here: The module will be
9086
called firewire-net. It replaces eth1394 of the classic IEEE 1394
9187
stack.

‎drivers/ieee1394/Kconfig‎

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ menu "IEEE 1394 (FireWire) support"
44
source "drivers/firewire/Kconfig"
55

66
config IEEE1394
7-
tristate "Stable FireWire stack"
7+
tristate "Legacy alternative FireWire driver stack"
88
depends on PCI || BROKEN
99
help
1010
IEEE 1394 describes a high performance serial bus, which is also
@@ -33,11 +33,9 @@ config IEEE1394_OHCI1394
3333
module will be called ohci1394.
3434

3535
NOTE:
36-
37-
You should only build either ohci1394 or the new firewire-ohci driver,
38-
but not both. If you nevertheless want to install both, you should
39-
configure them only as modules and blacklist the driver(s) which you
40-
don't want to have auto-loaded. Add either
36+
If you want to install firewire-ohci and ohci1394 together, you
37+
should configure them only as modules and blacklist the driver(s)
38+
which you don't want to have auto-loaded. Add either
4139

4240
blacklist firewire-ohci
4341
or
@@ -46,12 +44,7 @@ config IEEE1394_OHCI1394
4644
blacklist dv1394
4745

4846
to /etc/modprobe.conf or /etc/modprobe.d/* and update modprobe.conf
49-
depending on your distribution. The latter two modules should be
50-
blacklisted together with ohci1394 because they depend on ohci1394.
51-
52-
If you have an old modprobe which doesn't implement the blacklist
53-
directive, use "install modulename /bin/true" for the modules to be
54-
blacklisted.
47+
depending on your distribution.
5548

5649
comment "PCILynx controller requires I2C"
5750
depends on IEEE1394 && I2C=n
@@ -105,7 +98,7 @@ config IEEE1394_ETH1394_ROM_ENTRY
10598
default n
10699

107100
config IEEE1394_ETH1394
108-
tristate "IP networking over 1394"
101+
tristate "IP networking over 1394 (experimental)"
109102
depends on IEEE1394 && EXPERIMENTAL && INET
110103
select IEEE1394_ETH1394_ROM_ENTRY
111104
help

0 commit comments

Comments
 (0)