From 630231776da4916e40ecbee8b8f347f0cc78e7d3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sat, 22 Nov 2008 12:52:18 +0100 Subject: 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 Cc: Frank Menne Signed-off-by: Greg Kroah-Hartman --- drivers/staging/panel/Kconfig | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) (limited to 'drivers/staging/panel/Kconfig') diff --git a/drivers/staging/panel/Kconfig b/drivers/staging/panel/Kconfig index 7cf655757748..c4b30f2a549b 100644 --- a/drivers/staging/panel/Kconfig +++ b/drivers/staging/panel/Kconfig @@ -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)" @@ -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)" -- cgit v1.2.3