Skip to content

Commit 5d7db04

Browse files
author
Stefan Richter
committed
firewire, ieee1394: update Kconfig help
Update the Kconfig help texts of both stacks to encourage a general move from the older to the newer drivers. However, do not label ieee1394 as "Obsolete" yet, as the newer drivers have not been deployed as default stack in the majority of Linux distributions yet, and those who start doing so now may still want to install the old drivers as fallback for unforeseen issues. Since Linux 2.6.32, FireWire audio devices can be driven by the newer firewire driver stack too, hence remove an outdated comment about audio devices. Also remove comments about library versions since the 2nd generation of libraw1394 and libdc1394 is now in common use; details on library versions can be read at the wiki link from the help texts. Signed-off-by: Stefan Richter <[email protected]>
1 parent 958a29c commit 5d7db04

File tree

3 files changed

+56
-49
lines changed

3 files changed

+56
-49
lines changed

drivers/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ source "drivers/md/Kconfig"
2828

2929
source "drivers/message/fusion/Kconfig"
3030

31-
source "drivers/ieee1394/Kconfig"
31+
source "drivers/firewire/Kconfig"
3232

3333
source "drivers/message/i2o/Kconfig"
3434

drivers/firewire/Kconfig

Lines changed: 13 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1+
menu "IEEE 1394 (FireWire) support"
2+
depends on PCI || BROKEN
3+
# firewire-core does not depend on PCI but is
4+
# not useful without PCI controller driver
5+
16
comment "You can enable one or both FireWire driver stacks."
2-
comment "See the help texts for more information."
7+
comment "The newer stack is recommended."
38

49
config FIREWIRE
510
tristate "FireWire driver stack"
@@ -15,16 +20,6 @@ config FIREWIRE
1520
To compile this driver as a module, say M here: the module will be
1621
called firewire-core.
1722

18-
This module functionally replaces ieee1394, raw1394, and video1394.
19-
To access it from application programs, you generally need at least
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).
27-
2823
config FIREWIRE_OHCI
2924
tristate "OHCI-1394 controllers"
3025
depends on PCI && FIREWIRE
@@ -34,22 +29,7 @@ config FIREWIRE_OHCI
3429
is the only chipset in use, so say Y here.
3530

3631
To compile this driver as a module, say M here: The module will be
37-
called firewire-ohci. It replaces ohci1394 of the classic IEEE 1394
38-
stack.
39-
40-
NOTE:
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
44-
45-
blacklist firewire-ohci
46-
or
47-
blacklist ohci1394
48-
blacklist video1394
49-
blacklist dv1394
50-
51-
to /etc/modprobe.conf or /etc/modprobe.d/* and update modprobe.conf
52-
depending on your distribution.
32+
called firewire-ohci.
5333

5434
config FIREWIRE_OHCI_DEBUG
5535
bool
@@ -66,8 +46,7 @@ config FIREWIRE_SBP2
6646
like scanners.
6747

6848
To compile this driver as a module, say M here: The module will be
69-
called firewire-sbp2. It replaces sbp2 of the classic IEEE 1394
70-
stack.
49+
called firewire-sbp2.
7150

7251
You should also enable support for disks, CD-ROMs, etc. in the SCSI
7352
configuration section.
@@ -83,5 +62,8 @@ config FIREWIRE_NET
8362
NOTE, this driver is not stable yet!
8463

8564
To compile this driver as a module, say M here: The module will be
86-
called firewire-net. It replaces eth1394 of the classic IEEE 1394
87-
stack.
65+
called firewire-net.
66+
67+
source "drivers/ieee1394/Kconfig"
68+
69+
endmenu

drivers/ieee1394/Kconfig

Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
menu "IEEE 1394 (FireWire) support"
2-
depends on PCI || BROKEN
3-
4-
source "drivers/firewire/Kconfig"
5-
61
config IEEE1394
72
tristate "Legacy alternative FireWire driver stack"
83
depends on PCI || BROKEN
@@ -16,8 +11,13 @@ config IEEE1394
1611
is the core support only, you will also need to select a driver for
1712
your IEEE 1394 adapter.
1813

19-
To compile this driver as a module, say M here: the
20-
module will be called ieee1394.
14+
To compile this driver as a module, say M here: the module will be
15+
called ieee1394.
16+
17+
NOTE:
18+
ieee1394 is superseded by the newer firewire-core driver. See
19+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
20+
further information on how to switch to the new FireWire drivers.
2121

2222
config IEEE1394_OHCI1394
2323
tristate "OHCI-1394 controllers"
@@ -29,19 +29,23 @@ config IEEE1394_OHCI1394
2929
use one of these chipsets. It should work with any OHCI-1394
3030
compliant card, however.
3131

32-
To compile this driver as a module, say M here: the
33-
module will be called ohci1394.
32+
To compile this driver as a module, say M here: the module will be
33+
called ohci1394.
3434

3535
NOTE:
36+
ohci1394 is superseded by the newer firewire-ohci driver. See
37+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
38+
further information on how to switch to the new FireWire drivers.
39+
3640
If you want to install firewire-ohci and ohci1394 together, you
3741
should configure them only as modules and blacklist the driver(s)
3842
which you don't want to have auto-loaded. Add either
3943

40-
blacklist firewire-ohci
41-
or
4244
blacklist ohci1394
4345
blacklist video1394
4446
blacklist dv1394
47+
or
48+
blacklist firewire-ohci
4549

4650
to /etc/modprobe.conf or /etc/modprobe.d/* and update modprobe.conf
4751
depending on your distribution.
@@ -58,8 +62,8 @@ config IEEE1394_PCILYNX
5862
Instruments PCILynx chip. Note: this driver is written for revision
5963
2 of this chip and may not work with revision 0.
6064

61-
To compile this driver as a module, say M here: the
62-
module will be called pcilynx.
65+
To compile this driver as a module, say M here: the module will be
66+
called pcilynx.
6367

6468
Only some old and now very rare PCI and CardBus cards and
6569
PowerMacs G3 B&W contain the PCILynx controller. Therefore
@@ -79,6 +83,14 @@ config IEEE1394_SBP2
7983
You should also enable support for disks, CD-ROMs, etc. in the SCSI
8084
configuration section.
8185

86+
To compile this driver as a module, say M here: the module will be
87+
called sbp2.
88+
89+
NOTE:
90+
sbp2 is superseded by the newer firewire-sbp2 driver. See
91+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
92+
further information on how to switch to the new FireWire drivers.
93+
8294
config IEEE1394_SBP2_PHYS_DMA
8395
bool "Enable replacement for physical DMA in SBP2"
8496
depends on IEEE1394_SBP2 && VIRT_TO_BUS && EXPERIMENTAL
@@ -111,6 +123,11 @@ config IEEE1394_ETH1394
111123

112124
The module is called eth1394 although it does not emulate Ethernet.
113125

126+
NOTE:
127+
eth1394 is superseded by the newer firewire-net driver. See
128+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
129+
further information on how to switch to the new FireWire drivers.
130+
114131
config IEEE1394_RAWIO
115132
tristate "raw1394 userspace interface"
116133
depends on IEEE1394
@@ -123,6 +140,11 @@ config IEEE1394_RAWIO
123140
To compile this driver as a module, say M here: the module will be
124141
called raw1394.
125142

143+
NOTE:
144+
raw1394 is superseded by the newer firewire-core driver. See
145+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
146+
further information on how to switch to the new FireWire drivers.
147+
126148
config IEEE1394_VIDEO1394
127149
tristate "video1394 userspace interface"
128150
depends on IEEE1394 && IEEE1394_OHCI1394
@@ -136,13 +158,18 @@ config IEEE1394_VIDEO1394
136158
To compile this driver as a module, say M here: the module will be
137159
called video1394.
138160

161+
NOTE:
162+
video1394 is superseded by the newer firewire-core driver. See
163+
http://ieee1394.wiki.kernel.org/index.php/Juju_Migration for
164+
further information on how to switch to the new FireWire drivers.
165+
139166
config IEEE1394_DV1394
140167
tristate "dv1394 userspace interface (deprecated)"
141168
depends on IEEE1394 && IEEE1394_OHCI1394
142169
help
143170
The dv1394 driver is unsupported and may be removed from Linux in a
144-
future release. Its functionality is now provided by raw1394 together
145-
with libraries such as libiec61883.
171+
future release. Its functionality is now provided by either
172+
raw1394 or firewire-core together with libraries such as libiec61883.
146173

147174
config IEEE1394_VERBOSEDEBUG
148175
bool "Excessive debugging output"
@@ -153,5 +180,3 @@ config IEEE1394_VERBOSEDEBUG
153180
will quickly result in large amounts of data sent to the system log.
154181

155182
Say Y if you really need the debugging output. Everyone else says N.
156-
157-
endmenu

0 commit comments

Comments
 (0)