xref: /openbmc/linux/drivers/firewire/Kconfig (revision dc7c5163)
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.
140c53decdSStefan Richter	  See http://ieee1394.wiki.kernel.org/index.php/Juju_Migration
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
21*dc7c5163STakashi Sakamotoconfig FIREWIRE_KUNIT_UAPI_TEST
22*dc7c5163STakashi Sakamoto	tristate "KUnit tests for layout of structure in UAPI" if !KUNIT_ALL_TESTS
23*dc7c5163STakashi Sakamoto	depends on FIREWIRE && KUNIT
24*dc7c5163STakashi Sakamoto	default KUNIT_ALL_TESTS
25*dc7c5163STakashi Sakamoto	help
26*dc7c5163STakashi Sakamoto	  This builds the KUnit tests whether structures exposed to user
27*dc7c5163STakashi Sakamoto	  space have expected layout.
28*dc7c5163STakashi Sakamoto
29*dc7c5163STakashi Sakamoto	  KUnit tests run during boot and output the results to the debug
30*dc7c5163STakashi Sakamoto	  log in TAP format (https://testanything.org/). Only useful for
31*dc7c5163STakashi Sakamoto	  kernel devs running KUnit test harness and are not for inclusion
32*dc7c5163STakashi Sakamoto	  into a production build.
33*dc7c5163STakashi Sakamoto
34*dc7c5163STakashi Sakamoto	  For more information on KUnit and unit tests in general, refer
35*dc7c5163STakashi Sakamoto	  to the KUnit documentation in Documentation/dev-tools/kunit/.
36*dc7c5163STakashi Sakamoto
3711f494eeSStefan Richterconfig FIREWIRE_OHCI
38a7b64b87SStefan Richter	tristate "OHCI-1394 controllers"
397a39d8b8SClemens Ladisch	depends on PCI && FIREWIRE && MMU
40ed568912SKristian Høgsberg	help
4135b7541cSStefan Richter	  Enable this driver if you have a FireWire controller based
42ed568912SKristian Høgsberg	  on the OHCI specification.  For all practical purposes, this
43ed568912SKristian Høgsberg	  is the only chipset in use, so say Y here.
44ed568912SKristian Høgsberg
45227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
465d7db049SStefan Richter	  called firewire-ohci.
47ed568912SKristian Høgsberg
4811f494eeSStefan Richterconfig FIREWIRE_SBP2
49a7b64b87SStefan Richter	tristate "Storage devices (SBP-2 protocol)"
5011f494eeSStefan Richter	depends on FIREWIRE && SCSI
519ba136d0SKristian Høgsberg	help
5235b7541cSStefan Richter	  This option enables you to use SBP-2 devices connected to a
5335b7541cSStefan Richter	  FireWire bus.  SBP-2 devices include storage devices like
549ba136d0SKristian Høgsberg	  harddisks and DVD drives, also some other FireWire devices
559ba136d0SKristian Høgsberg	  like scanners.
569ba136d0SKristian Høgsberg
57227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
585d7db049SStefan Richter	  called firewire-sbp2.
59227e7d81SStefan Richter
609ba136d0SKristian Høgsberg	  You should also enable support for disks, CD-ROMs, etc. in the SCSI
619ba136d0SKristian Høgsberg	  configuration section.
62b9530fd6SStefan Richter
63b9530fd6SStefan Richterconfig FIREWIRE_NET
6432471997SStefan Richter	tristate "IP networking over 1394"
6532471997SStefan Richter	depends on FIREWIRE && INET
66b9530fd6SStefan Richter	help
67cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  This enables IPv4/IPv6 over IEEE 1394, providing IP connectivity
68cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  with other implementations of RFC 2734/3146 as found on several
69cb6bf355SYOSHIFUJI Hideaki / 吉藤英明	  operating systems.  Multicast support is currently limited.
70b9530fd6SStefan Richter
71b9530fd6SStefan Richter	  To compile this driver as a module, say M here:  The module will be
725d7db049SStefan Richter	  called firewire-net.
735d7db049SStefan Richter
7428646821SStefan Richterconfig FIREWIRE_NOSY
7528646821SStefan Richter	tristate "Nosy - a FireWire traffic sniffer for PCILynx cards"
7628646821SStefan Richter	depends on PCI
7728646821SStefan Richter	help
7828646821SStefan Richter	  Nosy is an IEEE 1394 packet sniffer that is used for protocol
7928646821SStefan Richter	  analysis and in development of IEEE 1394 drivers, applications,
8028646821SStefan Richter	  or firmwares.
8128646821SStefan Richter
8228646821SStefan Richter	  This driver lets you use a Texas Instruments PCILynx 1394 to PCI
8328646821SStefan Richter	  link layer controller TSB12LV21/A/B as a low-budget bus analyzer.
8428646821SStefan Richter	  PCILynx is a nowadays very rare IEEE 1394 controller which is
8528646821SStefan Richter	  not OHCI 1394 compliant.
8628646821SStefan Richter
8728646821SStefan Richter	  The following cards are known to be based on PCILynx or PCILynx-2:
8828646821SStefan Richter	  IOI IOI-1394TT (PCI card), Unibrain Fireboard 400 PCI Lynx-2
8928646821SStefan Richter	  (PCI card), Newer Technology FireWire 2 Go (CardBus card),
908fd2af11SStefan Richter	  Apple Power Mac G3 blue & white and G4 with PCI graphics
918fd2af11SStefan Richter	  (onboard controller).
9228646821SStefan Richter
9328646821SStefan Richter	  To compile this driver as a module, say M here:  The module will be
949f6d3c4bSStefan Richter	  called nosy.  Source code of a userspace interface to nosy, called
959f6d3c4bSStefan Richter	  nosy-dump, can be found in tools/firewire/ of the kernel sources.
9628646821SStefan Richter
9728646821SStefan Richter	  If unsure, say N.
9828646821SStefan Richter
995d7db049SStefan Richterendmenu
100