Skip to content

Commit 6302317

Browse files
wtarreaugregkh
authored andcommitted
Staging: panel: remove support for smartcards
Smartcard support was more like a proof-of-concept than a completed work. It was only able to read serial numbers from a few smartcards, and the goal was to be able to secure keypad access with a smartcard. Given how the concept was limited, this was never used beyond demos, and it's better to remove this code so that nobody tries to use it for security purposes. The function panel_bind_callback() was ifdef'ed out, as its only user was smartcard. However, it would be a waste to remove it because many variations made on this driver will need it. Signed-off-by: Willy Tarreau <w@1wt.eu> Cc: Frank Menne <frank.menne@hsm.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent f6d1fcf commit 6302317

2 files changed

Lines changed: 13 additions & 204 deletions

File tree

‎drivers/staging/panel/Kconfig‎

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ config PANEL
33
depends on PARPORT
44
---help---
55
Say Y here if you have an HD44780 or KS-0074 LCD connected to your
6-
parallel port. This driver also features 4 and 6-key keypads, and a
7-
'smartcard' reader. The LCD is accessible through the /dev/lcd char
8-
device (10, 156), the keypad through /dev/keypad (10, 185), and the
9-
smartcard through /dev/smartcard (10, 186). Both require misc device
10-
to be enabled. This code can either be compiled as a module, or linked
11-
into the kernel and started at boot. If you don't understand what all
12-
this is about, say N.
6+
parallel port. This driver also features 4 and 6-key keypads. The LCD
7+
is accessible through the /dev/lcd char device (10, 156), and the
8+
keypad through /dev/keypad (10, 185). Both require misc device to be
9+
enabled. This code can either be compiled as a module, or linked into
10+
the kernel and started at boot. If you don't understand what all this
11+
is about, say N.
1312

1413
config PANEL_PARPORT
1514
int "Default parallel port number (0=LPT1)"
@@ -45,17 +44,6 @@ config PANEL_PROFILE
4544
wired to the parallel port, and how it works. This is only intended
4645
for experts.
4746

48-
config PANEL_SMARTCARD
49-
depends on PANEL && PANEL_PROFILE="0"
50-
bool "Enable smartcard reader (read help!)"
51-
default "n"
52-
---help---
53-
This enables the 'smartcard' reader as installed on the server at
54-
'www.ant-computing.com'. It was not really a smartcard reader, just
55-
a telephone-card reader. It is left here for demonstration and
56-
experimentation. If you enable this driver, it will be accessible
57-
through character device 10,186.
58-
5947
config PANEL_KEYPAD
6048
depends on PANEL && PANEL_PROFILE="0"
6149
int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"

0 commit comments

Comments
 (0)