Merge branch 'address-masking'
[linux-2.6-block.git] / drivers / firewire / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
5d7db049 2menu "IEEE 1394 (FireWire) support"
b3d681a4 3 depends on PCI || COMPILE_TEST
5d7db049
SR
4 # firewire-core does not depend on PCI but is
5 # not useful without PCI controller driver
6
11f494ee 7config FIREWIRE
0c53decd 8 tristate "FireWire driver stack"
e175569c 9 select CRC_ITU_T
3038e353 10 help
0c53decd
SR
11 This is the new-generation IEEE 1394 (FireWire) driver stack
12 a.k.a. Juju, a new implementation designed for robustness and
13 simplicity.
e789523f 14 See http://ieee1394.docs.kernel.org/en/latest/migration.html
0c53decd
SR
15 for information about migration from the older Linux 1394 stack
16 to the new driver stack.
3038e353 17
fe77d4f2 18 To compile this driver as a module, say M here: the module will be
f05e21b3
SR
19 called firewire-core.
20
dc7c5163
TS
21config FIREWIRE_KUNIT_UAPI_TEST
22 tristate "KUnit tests for layout of structure in UAPI" if !KUNIT_ALL_TESTS
23 depends on FIREWIRE && KUNIT
24 default KUNIT_ALL_TESTS
25 help
26 This builds the KUnit tests whether structures exposed to user
27 space have expected layout.
28
29 KUnit tests run during boot and output the results to the debug
30 log in TAP format (https://testanything.org/). Only useful for
31 kernel devs running KUnit test harness and are not for inclusion
32 into a production build.
33
34 For more information on KUnit and unit tests in general, refer
35 to the KUnit documentation in Documentation/dev-tools/kunit/.
36
1770d39d
TS
37config FIREWIRE_KUNIT_DEVICE_ATTRIBUTE_TEST
38 tristate "KUnit tests for device attributes" if !KUNIT_ALL_TESTS
39 depends on FIREWIRE && KUNIT
40 default KUNIT_ALL_TESTS
41 help
42 This builds the KUnit tests for device attribute for node and
43 unit.
44
45 KUnit tests run during boot and output the results to the debug
46 log in TAP format (https://testanything.org/). Only useful for
47 kernel devs running KUnit test harness and are not for inclusion
48 into a production build.
49
50 For more information on KUnit and unit tests in general, refer
51 to the KUnit documentation in Documentation/dev-tools/kunit/.
52
75527d8d
TS
53config FIREWIRE_KUNIT_PACKET_SERDES_TEST
54 tristate "KUnit tests for packet serialization/deserialization" if !KUNIT_ALL_TESTS
55 depends on FIREWIRE && KUNIT
56 default KUNIT_ALL_TESTS
57 help
58 This builds the KUnit tests for packet serialization and
59 deserialization.
60
61 KUnit tests run during boot and output the results to the debug
62 log in TAP format (https://testanything.org/). Only useful for
63 kernel devs running KUnit test harness and are not for inclusion
64 into a production build.
65
66 For more information on KUnit and unit tests in general, refer
67 to the KUnit documentation in Documentation/dev-tools/kunit/.
68
7bd10e0e
TS
69config FIREWIRE_KUNIT_SELF_ID_SEQUENCE_HELPER_TEST
70 tristate "KUnit tests for helpers of self ID sequence" if !KUNIT_ALL_TESTS
71 depends on FIREWIRE && KUNIT
72 default KUNIT_ALL_TESTS
73 help
74 This builds the KUnit tests for helpers of self ID sequence.
75
76 KUnit tests run during boot and output the results to the debug
77 log in TAP format (https://testanything.org/). Only useful for
78 kernel devs running KUnit test harness and are not for inclusion
79 into a production build.
80
81 For more information on KUnit and unit tests in general, refer
82 to the KUnit documentation in Documentation/dev-tools/kunit/.
83
11f494ee 84config FIREWIRE_OHCI
a7b64b87 85 tristate "OHCI-1394 controllers"
7a39d8b8 86 depends on PCI && FIREWIRE && MMU
ed568912 87 help
35b7541c 88 Enable this driver if you have a FireWire controller based
ed568912
KH
89 on the OHCI specification. For all practical purposes, this
90 is the only chipset in use, so say Y here.
91
227e7d81 92 To compile this driver as a module, say M here: The module will be
5d7db049 93 called firewire-ohci.
ed568912 94
7a14f78d
TS
95config FIREWIRE_KUNIT_OHCI_SERDES_TEST
96 tristate "KUnit tests for serialization/deserialization of data in buffers/registers" if !KUNIT_ALL_TESTS
97 depends on FIREWIRE && KUNIT
98 default KUNIT_ALL_TESTS
99 help
100 This builds the KUnit tests to check serialization and deserialization
101 of data in buffers and registers defined in 1394 OHCI specification.
102
103 KUnit tests run during boot and output the results to the debug
104 log in TAP format (https://testanything.org/). Only useful for
105 kernel devs running KUnit test harness and are not for inclusion
106 into a production build.
107
108 For more information on KUnit and unit tests in general, refer
109 to the KUnit documentation in Documentation/dev-tools/kunit/.
110
11f494ee 111config FIREWIRE_SBP2
a7b64b87 112 tristate "Storage devices (SBP-2 protocol)"
11f494ee 113 depends on FIREWIRE && SCSI
9ba136d0 114 help
35b7541c
SR
115 This option enables you to use SBP-2 devices connected to a
116 FireWire bus. SBP-2 devices include storage devices like
9ba136d0
KH
117 harddisks and DVD drives, also some other FireWire devices
118 like scanners.
119
227e7d81 120 To compile this driver as a module, say M here: The module will be
5d7db049 121 called firewire-sbp2.
227e7d81 122
9ba136d0
KH
123 You should also enable support for disks, CD-ROMs, etc. in the SCSI
124 configuration section.
b9530fd6
SR
125
126config FIREWIRE_NET
32471997
SR
127 tristate "IP networking over 1394"
128 depends on FIREWIRE && INET
b9530fd6 129 help
cb6bf355
YH
130 This enables IPv4/IPv6 over IEEE 1394, providing IP connectivity
131 with other implementations of RFC 2734/3146 as found on several
132 operating systems. Multicast support is currently limited.
b9530fd6
SR
133
134 To compile this driver as a module, say M here: The module will be
5d7db049
SR
135 called firewire-net.
136
28646821
SR
137config FIREWIRE_NOSY
138 tristate "Nosy - a FireWire traffic sniffer for PCILynx cards"
139 depends on PCI
140 help
141 Nosy is an IEEE 1394 packet sniffer that is used for protocol
142 analysis and in development of IEEE 1394 drivers, applications,
143 or firmwares.
144
145 This driver lets you use a Texas Instruments PCILynx 1394 to PCI
146 link layer controller TSB12LV21/A/B as a low-budget bus analyzer.
147 PCILynx is a nowadays very rare IEEE 1394 controller which is
148 not OHCI 1394 compliant.
149
150 The following cards are known to be based on PCILynx or PCILynx-2:
151 IOI IOI-1394TT (PCI card), Unibrain Fireboard 400 PCI Lynx-2
152 (PCI card), Newer Technology FireWire 2 Go (CardBus card),
8fd2af11
SR
153 Apple Power Mac G3 blue & white and G4 with PCI graphics
154 (onboard controller).
28646821
SR
155
156 To compile this driver as a module, say M here: The module will be
9f6d3c4b
SR
157 called nosy. Source code of a userspace interface to nosy, called
158 nosy-dump, can be found in tools/firewire/ of the kernel sources.
28646821
SR
159
160 If unsure, say N.
161
5d7db049 162endmenu