-
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.
yaml --- r: 267382 b: refs/heads/master c: 1dac418 h: refs/heads/master v: v3
- Loading branch information
edwin_rong
authored and
Greg Kroah-Hartman
committed
Aug 23, 2011
1 parent
8f9c417
commit 6755e6c
Showing
31 changed files
with
21,800 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: dd89e20d7e9d507b3122de2f79661b5fc2c2198e | ||
refs/heads/master: 1dac4186bcc663cb8c2bcc59481aea8fe9124a6c |
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,16 @@ | ||
config RTS5139 | ||
tristate "Realtek RTS5139 USB card reader support" | ||
depends on USB_SUPPORT && SCSI | ||
help | ||
Say Y here to include driver code to support the Realtek | ||
RTS5139 USB card readers. | ||
|
||
If this driver is compiled as a module, it will be named rts5139. | ||
|
||
config RTS5139_DEBUG | ||
bool "Realtek RTS5139 Card Reader verbose debug" | ||
depends on RTS5139 | ||
help | ||
Say Y here in order to have the rts5139 code generate | ||
verbose debugging messages. | ||
|
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,37 @@ | ||
# Driver for Realtek RTS51xx USB card reader | ||
# | ||
# Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved. | ||
# | ||
# This program is free software; you can redistribute it and/or modify it | ||
# under the terms of the GNU General Public License as published by the | ||
# Free Software Foundation; either version 2, or (at your option) any | ||
# later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, but | ||
# WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License along | ||
# with this program; if not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# Author: | ||
# wwang (wei_wang@realsil.com.cn) | ||
# No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China | ||
# Maintainer: | ||
# Edwin Rong (edwin_rong@realsil.com.cn) | ||
# No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China | ||
# | ||
# Makefile for the RTS51xx USB Card Reader drivers. | ||
# | ||
|
||
TARGET_MODULE := rts5139 | ||
|
||
EXTRA_CFLAGS := -Idrivers/scsi -I$(PWD) | ||
|
||
obj-m += $(TARGET_MODULE).o | ||
|
||
common-obj := rts51x_transport.o rts51x_scsi.o rts51x_fop.o | ||
|
||
$(TARGET_MODULE)-objs := $(common-obj) rts51x.o rts51x_chip.o rts51x_card.o \ | ||
xd.o sd.o ms.o sd_cprm.o ms_mg.o |
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,5 @@ | ||
TODO: | ||
- support more USB card reader of Realtek family | ||
- use kernel coding style | ||
- checkpatch.pl fixes | ||
|
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,46 @@ | ||
/* Driver for Realtek RTS51xx USB card reader | ||
* Header file | ||
* | ||
* Copyright(c) 2009 Realtek Semiconductor Corp. All rights reserved. | ||
* | ||
* This program is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by the | ||
* Free Software Foundation; either version 2, or (at your option) any | ||
* later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, but | ||
* WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License along | ||
* with this program; if not, see <http://www.gnu.org/licenses/>. | ||
* | ||
* Author: | ||
* wwang (wei_wang@realsil.com.cn) | ||
* No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China | ||
* Maintainer: | ||
* Edwin Rong (edwin_rong@realsil.com.cn) | ||
* No. 450, Shenhu Road, Suzhou Industry Park, Suzhou, China | ||
*/ | ||
|
||
#ifndef __RTS51X_DEBUG_H | ||
#define __RTS51X_DEBUG_H | ||
|
||
#include <linux/kernel.h> | ||
|
||
#define RTS51X_TIP "rts51x: " | ||
|
||
#ifdef CONFIG_RTS5139_DEBUG | ||
#define RTS51X_DEBUGP(x...) printk(KERN_DEBUG RTS51X_TIP x) | ||
#define RTS51X_DEBUGPN(x...) printk(KERN_DEBUG x) | ||
#define RTS51X_DEBUGPX(x...) printk(x) | ||
#define RTS51X_DEBUG(x) x | ||
#else | ||
#define RTS51X_DEBUGP(x...) | ||
#define RTS51X_DEBUGPN(x...) | ||
#define RTS51X_DEBUGPX(x...) | ||
#define RTS51X_DEBUG(x) | ||
#endif | ||
|
||
#endif /* __RTS51X_DEBUG_H */ |
Oops, something went wrong.