162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# MemoryStick core configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_cicomment "MemoryStick drivers"
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig MEMSTICK_UNSAFE_RESUME
962306a36Sopenharmony_ci	bool "Allow unsafe resume (DANGEROUS)"
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  If you say Y here, the MemoryStick layer will assume that all
1262306a36Sopenharmony_ci	  cards stayed in their respective slots during the suspend. The
1362306a36Sopenharmony_ci	  normal behaviour is to remove them at suspend and
1462306a36Sopenharmony_ci	  redetecting them at resume. Breaking this assumption will
1562306a36Sopenharmony_ci	  in most cases result in data corruption.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci	  This option is usually just for embedded systems which use
1862306a36Sopenharmony_ci	  a MemoryStick card for rootfs. Most people should say N here.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig MSPRO_BLOCK
2162306a36Sopenharmony_ci	tristate "MemoryStick Pro block device driver"
2262306a36Sopenharmony_ci	depends on BLOCK
2362306a36Sopenharmony_ci	imply IOSCHED_BFQ
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Say Y here to enable the MemoryStick Pro block device driver
2662306a36Sopenharmony_ci	  support. This provides a block device driver, which you can use
2762306a36Sopenharmony_ci	  to mount the filesystem. Almost everyone wishing MemoryStick
2862306a36Sopenharmony_ci	  support should say Y or M here.
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig MS_BLOCK
3162306a36Sopenharmony_ci	tristate "MemoryStick Standard device driver"
3262306a36Sopenharmony_ci	depends on BLOCK
3362306a36Sopenharmony_ci	imply IOSCHED_BFQ
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  Say Y here to enable the MemoryStick Standard device driver
3662306a36Sopenharmony_ci	  support. This provides a block device driver, which you can use
3762306a36Sopenharmony_ci	  to mount the filesystem.
3862306a36Sopenharmony_ci	  This driver works with old (bulky) MemoryStick and MemoryStick Duo
3962306a36Sopenharmony_ci	  but not PRO. Say Y if you have such card.
4062306a36Sopenharmony_ci	  Driver is new and not yet well tested, thus it can damage your card
4162306a36Sopenharmony_ci	  (even permanently)
42