diff --git a/drivers/ieee1394/Kconfig b/drivers/ieee1394/Kconfig index 39142e2..f023474 100644 --- a/drivers/ieee1394/Kconfig +++ b/drivers/ieee1394/Kconfig @@ -169,4 +169,21 @@ config IEEE1394_RAWIO To compile this driver as a module, say M here: the module will be called raw1394. +config IEEE1394_MEMDEV + tristate "IEEE1394 memory device support" + depends on IEEE1394 && IEEE1394_EXPORT_FULL_API && EXPERIMENTAL + help + Say Y here if you want support for the ieee1394 memory device. + This is useful for debugging systems attached via firewire + since it usually allows you to read from and write to their memory, + depending on the controller and machine setup. + + It differs from raw access (which allows the same usage) in that + it provides devices nodes (usually called /dev/fwmem-) that can + be read and written with any tool, as opposed to specialised tools + required for raw1394. + + To compile this driver as a module, say M here: the + module will be called mem1394. + endmenu diff --git a/drivers/ieee1394/Makefile b/drivers/ieee1394/Makefile index 180bf82..7da4e21 100644 --- a/drivers/ieee1394/Makefile +++ b/drivers/ieee1394/Makefile @@ -14,6 +14,7 @@ obj-$(CONFIG_IEEE1394_RAWIO) += raw1394. obj-$(CONFIG_IEEE1394_SBP2) += sbp2.o obj-$(CONFIG_IEEE1394_DV1394) += dv1394.o obj-$(CONFIG_IEEE1394_ETH1394) += eth1394.o +obj-$(CONFIG_IEEE1394_MEMDEV) += mem1394.o quiet_cmd_oui2c = OUI2C $@ cmd_oui2c = $(CONFIG_SHELL) $(src)/oui2c.sh < $< > $@