]> git.kernelconcepts.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>
Wed, 21 Nov 2007 17:25:57 +0000 (09:25 -0800)
commit2cfa048e27d6e9029e2b3ac9a93b27ec29967256
tree5e08c1a4c7d64cd7c234c2d19999b888be247ea8
parent327bec37455d35156b72b4fdbec1d1403c8a2a92
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