Skip to content

Commit 50a6cb9

Browse files
realtek-spgregkh
authored andcommitted
USB: usb_storage: add ums-realtek driver
ums_realtek is used to support the power-saving function for Realtek RTS51xx USB card readers. Signed-off-by: wwang <wei_wang@realsil.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent f6c259a commit 50a6cb9

File tree

5 files changed

+729
-0
lines changed

5 files changed

+729
-0
lines changed

drivers/usb/storage/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ config USB_STORAGE_DEBUG
3131
Say Y here in order to have the USB Mass Storage code generate
3232
verbose debugging messages.
3333

34+
config USB_STORAGE_REALTEK
35+
tristate "Realtek Card Reader support"
36+
depends on USB_STORAGE
37+
help
38+
Say Y here to include additional code to support the power-saving function
39+
for Realtek RTS51xx USB card readers.
40+
41+
If this driver is compiled as a module, it will be named ums-realtek.
42+
43+
3444
config USB_STORAGE_DATAFAB
3545
tristate "Datafab Compact Flash Reader support"
3646
depends on USB_STORAGE

drivers/usb/storage/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ obj-$(CONFIG_USB_STORAGE_ISD200) += ums-isd200.o
3030
obj-$(CONFIG_USB_STORAGE_JUMPSHOT) += ums-jumpshot.o
3131
obj-$(CONFIG_USB_STORAGE_KARMA) += ums-karma.o
3232
obj-$(CONFIG_USB_STORAGE_ONETOUCH) += ums-onetouch.o
33+
obj-$(CONFIG_USB_STORAGE_REALTEK) += ums-realtek.o
3334
obj-$(CONFIG_USB_STORAGE_SDDR09) += ums-sddr09.o
3435
obj-$(CONFIG_USB_STORAGE_SDDR55) += ums-sddr55.o
3536
obj-$(CONFIG_USB_STORAGE_USBAT) += ums-usbat.o
@@ -42,6 +43,7 @@ ums-isd200-y := isd200.o
4243
ums-jumpshot-y := jumpshot.o
4344
ums-karma-y := karma.o
4445
ums-onetouch-y := onetouch.o
46+
ums-realtek-y := realtek_cr.o
4547
ums-sddr09-y := sddr09.o
4648
ums-sddr55-y := sddr55.o
4749
ums-usbat-y := shuttle_usbat.o

0 commit comments

Comments
 (0)