xref: /openbmc/linux/drivers/memstick/core/Kconfig (revision ec8f24b7)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2baf8532aSAlex Dubov#
3baf8532aSAlex Dubov# MemoryStick core configuration
4baf8532aSAlex Dubov#
5baf8532aSAlex Dubov
6baf8532aSAlex Dubovcomment "MemoryStick drivers"
7baf8532aSAlex Dubov
8baf8532aSAlex Dubovconfig MEMSTICK_UNSAFE_RESUME
9baf8532aSAlex Dubov        bool "Allow unsafe resume (DANGEROUS)"
10baf8532aSAlex Dubov        help
11baf8532aSAlex Dubov          If you say Y here, the MemoryStick layer will assume that all
12baf8532aSAlex Dubov          cards stayed in their respective slots during the suspend. The
13baf8532aSAlex Dubov          normal behaviour is to remove them at suspend and
14baf8532aSAlex Dubov          redetecting them at resume. Breaking this assumption will
15baf8532aSAlex Dubov          in most cases result in data corruption.
16baf8532aSAlex Dubov
17baf8532aSAlex Dubov          This option is usually just for embedded systems which use
18baf8532aSAlex Dubov          a MemoryStick card for rootfs. Most people should say N here.
19baf8532aSAlex Dubov
20baf8532aSAlex Dubovconfig MSPRO_BLOCK
21baf8532aSAlex Dubov	tristate "MemoryStick Pro block device driver"
22baf8532aSAlex Dubov	depends on BLOCK
23baf8532aSAlex Dubov	help
24baf8532aSAlex Dubov	  Say Y here to enable the MemoryStick Pro block device driver
25baf8532aSAlex Dubov	  support. This provides a block device driver, which you can use
26baf8532aSAlex Dubov	  to mount the filesystem. Almost everyone wishing MemoryStick
27baf8532aSAlex Dubov	  support should say Y or M here.
280ab30494SMaxim Levitsky
290ab30494SMaxim Levitskyconfig MS_BLOCK
300ab30494SMaxim Levitsky	tristate "MemoryStick Standard device driver"
310ab30494SMaxim Levitsky	depends on BLOCK
320ab30494SMaxim Levitsky	help
330ab30494SMaxim Levitsky	  Say Y here to enable the MemoryStick Standard device driver
340ab30494SMaxim Levitsky	  support. This provides a block device driver, which you can use
350ab30494SMaxim Levitsky	  to mount the filesystem.
360ab30494SMaxim Levitsky	  This driver works with old (bulky) MemoryStick and MemoryStick Duo
370ab30494SMaxim Levitsky	  but not PRO. Say Y if you have such card.
380ab30494SMaxim Levitsky	  Driver is new and not yet well tested, thus it can damage your card
390ab30494SMaxim Levitsky	  (even permanently)
40