xref: /OK3568_Linux_fs/kernel/drivers/memstick/core/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# MemoryStick core configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyuncomment "MemoryStick drivers"
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig MEMSTICK_UNSAFE_RESUME
9*4882a593Smuzhiyun	bool "Allow unsafe resume (DANGEROUS)"
10*4882a593Smuzhiyun	help
11*4882a593Smuzhiyun	  If you say Y here, the MemoryStick layer will assume that all
12*4882a593Smuzhiyun	  cards stayed in their respective slots during the suspend. The
13*4882a593Smuzhiyun	  normal behaviour is to remove them at suspend and
14*4882a593Smuzhiyun	  redetecting them at resume. Breaking this assumption will
15*4882a593Smuzhiyun	  in most cases result in data corruption.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	  This option is usually just for embedded systems which use
18*4882a593Smuzhiyun	  a MemoryStick card for rootfs. Most people should say N here.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig MSPRO_BLOCK
21*4882a593Smuzhiyun	tristate "MemoryStick Pro block device driver"
22*4882a593Smuzhiyun	depends on BLOCK
23*4882a593Smuzhiyun	help
24*4882a593Smuzhiyun	  Say Y here to enable the MemoryStick Pro block device driver
25*4882a593Smuzhiyun	  support. This provides a block device driver, which you can use
26*4882a593Smuzhiyun	  to mount the filesystem. Almost everyone wishing MemoryStick
27*4882a593Smuzhiyun	  support should say Y or M here.
28*4882a593Smuzhiyun
29*4882a593Smuzhiyunconfig MS_BLOCK
30*4882a593Smuzhiyun	tristate "MemoryStick Standard device driver"
31*4882a593Smuzhiyun	depends on BLOCK
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  Say Y here to enable the MemoryStick Standard device driver
34*4882a593Smuzhiyun	  support. This provides a block device driver, which you can use
35*4882a593Smuzhiyun	  to mount the filesystem.
36*4882a593Smuzhiyun	  This driver works with old (bulky) MemoryStick and MemoryStick Duo
37*4882a593Smuzhiyun	  but not PRO. Say Y if you have such card.
38*4882a593Smuzhiyun	  Driver is new and not yet well tested, thus it can damage your card
39*4882a593Smuzhiyun	  (even permanently)
40