xref: /linux/drivers/firewire/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
25d7db049SStefan Richtermenu "IEEE 1394 (FireWire) support"
3b3d681a4SJean Delvare	depends on PCI || COMPILE_TEST
45d7db049SStefan Richter	# firewire-core does not depend on PCI but is
55d7db049SStefan Richter	# not useful without PCI controller driver
65d7db049SStefan Richter
711f494eeSStefan Richterconfig FIREWIRE
80c53decdSStefan Richter	tristate "FireWire driver stack"
9e175569cSKristian Høgsberg	select CRC_ITU_T
103038e353SKristian Høgsberg	help
110c53decdSStefan Richter	  This is the new-generation IEEE 1394 (FireWire) driver stack
120c53decdSStefan Richter	  a.k.a. Juju, a new implementation designed for robustness and
130c53decdSStefan Richter	  simplicity.
14e789523fSTakashi Sakamoto	  See http://ieee1394.docs.kernel.org/en/latest/migration.html
150c53decdSStefan Richter	  for information about migration from the older Linux 1394 stack
160c53decdSStefan Richter	  to the new driver stack.
173038e353SKristian Høgsberg
18fe77d4f2SStefan Richter	  To compile this driver as a module, say M here: the module will be
19f05e21b3SStefan Richter	  called firewire-core.
20f05e21b3SStefan Richter
21dc7c5163STakashi Sakamotoconfig FIREWIRE_KUNIT_UAPI_TEST
22dc7c5163STakashi Sakamoto	tristate "KUnit tests for layout of structure in UAPI" if !KUNIT_ALL_TESTS
23dc7c5163STakashi Sakamoto	depends on FIREWIRE && KUNIT
24dc7c5163STakashi Sakamoto	default KUNIT_ALL_TESTS
25dc7c5163STakashi Sakamoto	help
26dc7c5163STakashi Sakamoto	  This builds the KUnit tests whether structures exposed to user
27dc7c5163STakashi Sakamoto	  space have expected layout.
28dc7c5163STakashi Sakamoto
29dc7c5163STakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
30dc7c5163STakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
31dc7c5163STakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
32dc7c5163STakashi Sakamoto	  into a production build.
33dc7c5163STakashi Sakamoto
34dc7c5163STakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
35dc7c5163STakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
36dc7c5163STakashi Sakamoto
371770d39dSTakashi Sakamotoconfig FIREWIRE_KUNIT_DEVICE_ATTRIBUTE_TEST
381770d39dSTakashi Sakamoto	tristate "KUnit tests for device attributes" if !KUNIT_ALL_TESTS
391770d39dSTakashi Sakamoto	depends on FIREWIRE && KUNIT
401770d39dSTakashi Sakamoto	default KUNIT_ALL_TESTS
411770d39dSTakashi Sakamoto	help
421770d39dSTakashi Sakamoto	  This builds the KUnit tests for device attribute for node and
431770d39dSTakashi Sakamoto	  unit.
441770d39dSTakashi Sakamoto
451770d39dSTakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
461770d39dSTakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
471770d39dSTakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
481770d39dSTakashi Sakamoto	  into a production build.
491770d39dSTakashi Sakamoto
501770d39dSTakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
511770d39dSTakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
521770d39dSTakashi Sakamoto
5375527d8dSTakashi Sakamotoconfig FIREWIRE_KUNIT_PACKET_SERDES_TEST
5475527d8dSTakashi Sakamoto	tristate "KUnit tests for packet serialization/deserialization" if !KUNIT_ALL_TESTS
5575527d8dSTakashi Sakamoto	depends on FIREWIRE && KUNIT
5675527d8dSTakashi Sakamoto	default KUNIT_ALL_TESTS
5775527d8dSTakashi Sakamoto	help
5875527d8dSTakashi Sakamoto	  This builds the KUnit tests for packet serialization and
5975527d8dSTakashi Sakamoto	  deserialization.
6075527d8dSTakashi Sakamoto
6175527d8dSTakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
6275527d8dSTakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
6375527d8dSTakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
6475527d8dSTakashi Sakamoto	  into a production build.
6575527d8dSTakashi Sakamoto
6675527d8dSTakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
6775527d8dSTakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
6875527d8dSTakashi Sakamoto
697bd10e0eSTakashi Sakamotoconfig FIREWIRE_KUNIT_SELF_ID_SEQUENCE_HELPER_TEST
707bd10e0eSTakashi Sakamoto	tristate "KUnit tests for helpers of self ID sequence" if !KUNIT_ALL_TESTS
717bd10e0eSTakashi Sakamoto	depends on FIREWIRE && KUNIT
727bd10e0eSTakashi Sakamoto	default KUNIT_ALL_TESTS
737bd10e0eSTakashi Sakamoto	help
747bd10e0eSTakashi Sakamoto	  This builds the KUnit tests for helpers of self ID sequence.
757bd10e0eSTakashi Sakamoto
767bd10e0eSTakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
777bd10e0eSTakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
787bd10e0eSTakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
797bd10e0eSTakashi Sakamoto	  into a production build.
807bd10e0eSTakashi Sakamoto
817bd10e0eSTakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
827bd10e0eSTakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
837bd10e0eSTakashi Sakamoto
8411f494eeSStefan Richterconfig FIREWIRE_OHCI
85a7b64b87SStefan Richter	tristate "OHCI-1394 controllers"
867a39d8b8SClemens Ladisch	depends on PCI && FIREWIRE && MMU
87ed568912SKristian Høgsberg	help
8835b7541cSStefan Richter	  Enable this driver if you have a FireWire controller based
89ed568912SKristian Høgsberg	  on the OHCI specification.  For all practical purposes, this
90ed568912SKristian Høgsberg	  is the only chipset in use, so say Y here.
91ed568912SKristian Høgsberg
92227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
935d7db049SStefan Richter	  called firewire-ohci.
94ed568912SKristian Høgsberg
95*7a14f78dSTakashi Sakamotoconfig FIREWIRE_KUNIT_OHCI_SERDES_TEST
96*7a14f78dSTakashi Sakamoto	tristate "KUnit tests for serialization/deserialization of data in buffers/registers" if !KUNIT_ALL_TESTS
97*7a14f78dSTakashi Sakamoto	depends on FIREWIRE && KUNIT
98*7a14f78dSTakashi Sakamoto	default KUNIT_ALL_TESTS
99*7a14f78dSTakashi Sakamoto	help
100*7a14f78dSTakashi Sakamoto	  This builds the KUnit tests to check serialization and deserialization
101*7a14f78dSTakashi Sakamoto	  of data in buffers and registers defined in 1394 OHCI specification.
102*7a14f78dSTakashi Sakamoto
103*7a14f78dSTakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
104*7a14f78dSTakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
105*7a14f78dSTakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
106*7a14f78dSTakashi Sakamoto	  into a production build.
107*7a14f78dSTakashi Sakamoto
108*7a14f78dSTakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
109*7a14f78dSTakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
110*7a14f78dSTakashi Sakamoto
11111f494eeSStefan Richterconfig FIREWIRE_SBP2
112a7b64b87SStefan Richter	tristate "Storage devices (SBP-2 protocol)"
11311f494eeSStefan Richter	depends on FIREWIRE && SCSI
1149ba136d0SKristian Høgsberg	help
11535b7541cSStefan Richter	  This option enables you to use SBP-2 devices connected to a
11635b7541cSStefan Richter	  FireWire bus.  SBP-2 devices include storage devices like
1179ba136d0SKristian Høgsberg	  harddisks and DVD drives, also some other FireWire devices
1189ba136d0SKristian Høgsberg	  like scanners.
1199ba136d0SKristian Høgsberg
120227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
1215d7db049SStefan Richter	  called firewire-sbp2.
122227e7d81SStefan Richter
1239ba136d0SKristian Høgsberg	  You should also enable support for disks, CD-ROMs, etc. in the SCSI
1249ba136d0SKristian Høgsberg	  configuration section.
125b9530fd6SStefan Richter
126b9530fd6SStefan Richterconfig FIREWIRE_NET
12732471997SStefan Richter	tristate "IP networking over 1394"
12832471997SStefan Richter	depends on FIREWIRE && INET
129b9530fd6SStefan Richter	help
130cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  This enables IPv4/IPv6 over IEEE 1394, providing IP connectivity
131cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  with other implementations of RFC 2734/3146 as found on several
132cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  operating systems.  Multicast support is currently limited.
133b9530fd6SStefan Richter
134b9530fd6SStefan Richter	  To compile this driver as a module, say M here:  The module will be
1355d7db049SStefan Richter	  called firewire-net.
1365d7db049SStefan Richter
13728646821SStefan Richterconfig FIREWIRE_NOSY
13828646821SStefan Richter	tristate "Nosy - a FireWire traffic sniffer for PCILynx cards"
13928646821SStefan Richter	depends on PCI
14028646821SStefan Richter	help
14128646821SStefan Richter	  Nosy is an IEEE 1394 packet sniffer that is used for protocol
14228646821SStefan Richter	  analysis and in development of IEEE 1394 drivers, applications,
14328646821SStefan Richter	  or firmwares.
14428646821SStefan Richter
14528646821SStefan Richter	  This driver lets you use a Texas Instruments PCILynx 1394 to PCI
14628646821SStefan Richter	  link layer controller TSB12LV21/A/B as a low-budget bus analyzer.
14728646821SStefan Richter	  PCILynx is a nowadays very rare IEEE 1394 controller which is
14828646821SStefan Richter	  not OHCI 1394 compliant.
14928646821SStefan Richter
15028646821SStefan Richter	  The following cards are known to be based on PCILynx or PCILynx-2:
15128646821SStefan Richter	  IOI IOI-1394TT (PCI card), Unibrain Fireboard 400 PCI Lynx-2
15228646821SStefan Richter	  (PCI card), Newer Technology FireWire 2 Go (CardBus card),
1538fd2af11SStefan Richter	  Apple Power Mac G3 blue & white and G4 with PCI graphics
1548fd2af11SStefan Richter	  (onboard controller).
15528646821SStefan Richter
15628646821SStefan Richter	  To compile this driver as a module, say M here:  The module will be
1579f6d3c4bSStefan Richter	  called nosy.  Source code of a userspace interface to nosy, called
1589f6d3c4bSStefan Richter	  nosy-dump, can be found in tools/firewire/ of the kernel sources.
15928646821SStefan Richter
16028646821SStefan Richter	  If unsure, say N.
16128646821SStefan Richter
1625d7db049SStefan Richterendmenu
163