[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804271617.53438.saschasommer@freenet.de>
Date: Sun, 27 Apr 2008 16:17:53 +0200
From: Sascha Sommer <saschasommer@...enet.de>
To: LKML <linux-kernel@...r.kernel.org>
Cc: sdricohcs-devel@...ts.sourceforge.net
Subject: [PATCH] MMC/SD host driver for Ricoh Bay1Controllers
Hi,
attached you can find a driver for MMC/SD card controllers that have been
integrated into some Notebooks with Ricoh Co Ltd RL5c476 II Cardbus bridges.
This includes the Samsung P35 notebook, the Dell X300 and some notebooks from
the Asus M6N series.
Whenever a MMC or SD card is insterted in the cardslot of one of these
notebooks the cardbus bridge will announce a
virtual Ricoh Bay1Controller PCMCIA card.
Since I submitted the first version of this driver to lkml last year many
changes have been made. The driver can now read and write to MMC and SD cards
and the reading speed for SD cards should be close to the windows driver now.
Many thanks to all the people that tested the driver and helped me to fix some
of the remaining bugs. I think it is now time to find out what needs to be
fixed before the driver can go into kernel.
While the driver is working fine for me there are still some not so nice parts
in it.
- the registers are on the cardbus bridge that is already claimed by yenta
socket therefore the driver has to use pci_get_device
- there is a lot of register polling because the reader does not support irqs
- some mmc commands require extra hacks. One of those commands is the
SD_APP_SEND_SCR command (a user reported that it is required for his SDHC
card). Like the read and write commands this command
requires a block read to read the scr but this does not seem to work.
I do not have any documentation for this device and the windows driver does
not support such commands so I cannot find the
needed info in its logfiles.
...
I'm thankfull for any kind of feedback.
Signed-off-by: Sascha Sommer <saschasommer@...enet.de>
Regards
Sascha
P.S. Please CC me as I'm not subscribed.
View attachment "sdricoh_cs.patch" of type "text/x-diff" (18526 bytes)
Powered by blists - more mailing lists