]> git.baikalelectronics.ru Git - kernel.git/commit
char/pcmcia: add scr24x_cs chip card interface driver
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 25 Oct 2016 14:28:10 +0000 (16:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 16:03:36 +0000 (17:03 +0100)
commitc770391e37b5c6d8d84560f633ee276b7d818d08
tree1c730107aa2181bc9fb5fe40500403e68fc03344
parentdaf0c00a9198701c49dfbdc7f2b70acf4ce3f53a
char/pcmcia: add scr24x_cs chip card interface driver

This implements only the very basic protocol "Mode A", just to make the
device functional. Patches to implement "Mode C" that uses better bulking
and is interrupt-driver may follow.

The device essentially speaks the same protocol as USB CCID devices do over
the bulk endpoints. The driver exchanges the command submissions and
responses over a plain read()/write() interface, compatible with legacy
OpenCT's pcmcia_block driver.

Patches for the newer CCID driver are available:
https://github.com/lkundrak/CCID/tree/lr/pcmcia_block

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/char/pcmcia/Kconfig
drivers/char/pcmcia/Makefile
drivers/char/pcmcia/scr24x_cs.c [new file with mode: 0644]