xref: /openbmc/linux/drivers/firewire/Kconfig (revision f05e21b3)
1a7b64b87SStefan Richtercomment "A new alternative FireWire stack is available with EXPERIMENTAL=y"
29c87da4eSStefan Richter	depends on EXPERIMENTAL=n
39c87da4eSStefan Richter
4a7b64b87SStefan Richtercomment "Enable only one of the two stacks, unless you know what you are doing"
5a7b64b87SStefan Richter	depends on EXPERIMENTAL
6a7b64b87SStefan Richter
711f494eeSStefan Richterconfig FIREWIRE
8a7b64b87SStefan Richter	tristate "New FireWire stack, EXPERIMENTAL"
99c87da4eSStefan Richter	depends on EXPERIMENTAL
10e175569cSKristian Høgsberg	select CRC_ITU_T
113038e353SKristian Høgsberg	help
12fe77d4f2SStefan Richter	  This is the "Juju" FireWire stack, a new alternative implementation
13227e7d81SStefan Richter	  designed for robustness and simplicity.  You can build either this
14a7b64b87SStefan Richter	  stack, or the old stack (the ieee1394 driver, ohci1394 etc.) or both.
15a7b64b87SStefan Richter	  Please read http://wiki.linux1394.org/JujuMigration before you
16a7b64b87SStefan Richter	  enable the new 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
21f05e21b3SStefan Richter	  This module functionally replaces ieee1394, raw1394, and video1394.
22f05e21b3SStefan Richter	  To access it from application programs, you generally need at least
23f05e21b3SStefan Richter	  libraw1394 version 2.  IIDC/DCAM applications also need libdc1394
24f05e21b3SStefan Richter	  version 2.  No libraries are required to access storage devices
25f05e21b3SStefan Richter	  through the firewire-sbp2 driver.
26fe77d4f2SStefan Richter
2711f494eeSStefan Richterconfig FIREWIRE_OHCI
28a7b64b87SStefan Richter	tristate "OHCI-1394 controllers"
2911f494eeSStefan Richter	depends on PCI && FIREWIRE
30ed568912SKristian Høgsberg	help
3135b7541cSStefan Richter	  Enable this driver if you have a FireWire controller based
32ed568912SKristian Høgsberg	  on the OHCI specification.  For all practical purposes, this
33ed568912SKristian Høgsberg	  is the only chipset in use, so say Y here.
34ed568912SKristian Høgsberg
35227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
36fe77d4f2SStefan Richter	  called firewire-ohci.  It replaces ohci1394 of the classic IEEE 1394
37fe77d4f2SStefan Richter	  stack.
38227e7d81SStefan Richter
39fe77d4f2SStefan Richter	  NOTE:
40fe77d4f2SStefan Richter
41a7b64b87SStefan Richter	  You should only build either firewire-ohci or the old ohci1394 driver,
42a7b64b87SStefan Richter	  but not both.  If you nevertheless want to install both, you should
43a7b64b87SStefan Richter	  configure them only as modules and blacklist the driver(s) which you
44a7b64b87SStefan Richter	  don't want to have auto-loaded.  Add either
450a8da30dSStefan Richter
460a8da30dSStefan Richter	      blacklist firewire-ohci
470a8da30dSStefan Richter	  or
480a8da30dSStefan Richter	      blacklist ohci1394
490a8da30dSStefan Richter	      blacklist video1394
500a8da30dSStefan Richter	      blacklist dv1394
510a8da30dSStefan Richter
520a8da30dSStefan Richter	  to /etc/modprobe.conf or /etc/modprobe.d/* and update modprobe.conf
530a8da30dSStefan Richter	  depending on your distribution.  The latter two modules should be
540a8da30dSStefan Richter	  blacklisted together with ohci1394 because they depend on ohci1394.
550a8da30dSStefan Richter
560a8da30dSStefan Richter	  If you have an old modprobe which doesn't implement the blacklist
570a8da30dSStefan Richter	  directive, use "install modulename /bin/true" for the modules to be
580a8da30dSStefan Richter	  blacklisted.
59ed568912SKristian Høgsberg
60ad3c0fe8SStefan Richterconfig FIREWIRE_OHCI_DEBUG
61ad3c0fe8SStefan Richter	bool
62ad3c0fe8SStefan Richter	depends on FIREWIRE_OHCI
63ad3c0fe8SStefan Richter	default y
64ad3c0fe8SStefan Richter
6511f494eeSStefan Richterconfig FIREWIRE_SBP2
66a7b64b87SStefan Richter	tristate "Storage devices (SBP-2 protocol)"
6711f494eeSStefan Richter	depends on FIREWIRE && SCSI
689ba136d0SKristian Høgsberg	help
6935b7541cSStefan Richter	  This option enables you to use SBP-2 devices connected to a
7035b7541cSStefan Richter	  FireWire bus.  SBP-2 devices include storage devices like
719ba136d0SKristian Høgsberg	  harddisks and DVD drives, also some other FireWire devices
729ba136d0SKristian Høgsberg	  like scanners.
739ba136d0SKristian Høgsberg
74227e7d81SStefan Richter	  To compile this driver as a module, say M here:  The module will be
75fe77d4f2SStefan Richter	  called firewire-sbp2.  It replaces sbp2 of the classic IEEE 1394
76fe77d4f2SStefan Richter	  stack.
77227e7d81SStefan Richter
789ba136d0SKristian Høgsberg	  You should also enable support for disks, CD-ROMs, etc. in the SCSI
799ba136d0SKristian Høgsberg	  configuration section.
80