forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memstick: initial commit for Sony MemoryStick support
Sony MemoryStick cards are used in many products manufactured by Sony. They are available both as storage and as IO expansion cards. Currently, only MemoryStick Pro storage cards are supported via TI FlashMedia MemoryStick interface. [mboton@gmail.com: biuld fix] [akpm@linux-foundation.org: build fix] Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Miguel Boton <mboton@gmail.co> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information
Showing
16 changed files
with
3,093 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# MemoryStick subsystem configuration | ||
# | ||
|
||
menuconfig MEMSTICK | ||
tristate "Sony MemoryStick card support (EXPERIMENTAL)" | ||
help | ||
Sony MemoryStick is a proprietary storage/extension card protocol. | ||
|
||
If you want MemoryStick support, you should say Y here and also | ||
to the specific driver for your MMC interface. | ||
|
||
if MEMSTICK | ||
|
||
config MEMSTICK_DEBUG | ||
bool "MemoryStick debugging" | ||
help | ||
This is an option for use by developers; most people should | ||
say N here. This enables MemoryStick core and driver debugging. | ||
|
||
|
||
source "drivers/memstick/core/Kconfig" | ||
|
||
source "drivers/memstick/host/Kconfig" | ||
|
||
endif # MEMSTICK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Makefile for the kernel MemoryStick device drivers. | ||
# | ||
|
||
ifeq ($(CONFIG_MEMSTICK_DEBUG),y) | ||
EXTRA_CFLAGS += -DDEBUG | ||
endif | ||
|
||
obj-$(CONFIG_MEMSTICK) += core/ | ||
obj-$(CONFIG_MEMSTICK) += host/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# | ||
# MemoryStick core configuration | ||
# | ||
|
||
comment "MemoryStick drivers" | ||
|
||
config MEMSTICK_UNSAFE_RESUME | ||
bool "Allow unsafe resume (DANGEROUS)" | ||
help | ||
If you say Y here, the MemoryStick layer will assume that all | ||
cards stayed in their respective slots during the suspend. The | ||
normal behaviour is to remove them at suspend and | ||
redetecting them at resume. Breaking this assumption will | ||
in most cases result in data corruption. | ||
|
||
This option is usually just for embedded systems which use | ||
a MemoryStick card for rootfs. Most people should say N here. | ||
|
||
config MSPRO_BLOCK | ||
tristate "MemoryStick Pro block device driver" | ||
depends on BLOCK | ||
help | ||
Say Y here to enable the MemoryStick Pro block device driver | ||
support. This provides a block device driver, which you can use | ||
to mount the filesystem. Almost everyone wishing MemoryStick | ||
support should say Y or M here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Makefile for the kernel MemoryStick core. | ||
# | ||
|
||
ifeq ($(CONFIG_MEMSTICK_DEBUG),y) | ||
EXTRA_CFLAGS += -DDEBUG | ||
endif | ||
|
||
obj-$(CONFIG_MEMSTICK) += memstick.o | ||
|
||
obj-$(CONFIG_MSPRO_BLOCK) += mspro_block.o |
Oops, something went wrong.