Skip to content

Commit

Permalink
Staging: panel: remove support for smartcards
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Frank Menne <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
wtarreau authored and gregkh committed Jan 6, 2009
1 parent f6d1fcf commit 6302317
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 204 deletions.
24 changes: 6 additions & 18 deletions drivers/staging/panel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ config PANEL
depends on PARPORT
---help---
Say Y here if you have an HD44780 or KS-0074 LCD connected to your
parallel port. This driver also features 4 and 6-key keypads, and a
'smartcard' reader. The LCD is accessible through the /dev/lcd char
device (10, 156), the keypad through /dev/keypad (10, 185), and the
smartcard through /dev/smartcard (10, 186). Both require misc device
to be enabled. This code can either be compiled as a module, or linked
into the kernel and started at boot. If you don't understand what all
this is about, say N.
parallel port. This driver also features 4 and 6-key keypads. The LCD
is accessible through the /dev/lcd char device (10, 156), and the
keypad through /dev/keypad (10, 185). Both require misc device to be
enabled. This code can either be compiled as a module, or linked into
the kernel and started at boot. If you don't understand what all this
is about, say N.

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

config PANEL_SMARTCARD
depends on PANEL && PANEL_PROFILE="0"
bool "Enable smartcard reader (read help!)"
default "n"
---help---
This enables the 'smartcard' reader as installed on the server at
'www.ant-computing.com'. It was not really a smartcard reader, just
a telephone-card reader. It is left here for demonstration and
experimentation. If you enable this driver, it will be accessible
through character device 10,186.

config PANEL_KEYPAD
depends on PANEL && PANEL_PROFILE="0"
int "Keypad type (0=none, 1=old 6 keys, 2=new 6 keys, 3=Nexcom 4 keys)"
Expand Down
Loading

0 comments on commit 6302317

Please sign in to comment.