]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c/eeprom: Recognize VGN as a valid Sony Vaio name prefix
authorJean Delvare <khali@linux-fr.org>
Fri, 16 Nov 2007 09:37:55 +0000 (10:37 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Nov 2007 17:42:27 +0000 (09:42 -0800)
commitb89f4bd84bd9945d26e16399a97c991eae0a7a0d
tree050980d32cee14c2dfc9339ffa3299965d03a0ea
parent4a050d6c579a97dbcac44857daf8489f4ba6783a
i2c/eeprom: Recognize VGN as a valid Sony Vaio name prefix

patch 8b925a3dd8a4d7451092cb9aa11da727ba69e0f0 in mainline.

Recent (i.e. 2005 and later) Sony Vaio laptops have names beginning
with VGN rather than PCG. Update the eeprom driver so that it
recognizes these.

Why this matters: the eeprom driver hides private data from the
EEPROMs it recognizes as Vaio EEPROMs (passwords, serial number...) so
if the driver fails to recognize a Vaio EEPROM as such, the private
data is exposed to the world.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/i2c/chips/eeprom.c