]> git.hungrycats.org Git - linux/commit
[PATCH] I2C: restore correct vaio handling in eeprom driver
authorJean Delvare <khali@linux-fr.org>
Thu, 15 Jan 2004 09:28:54 +0000 (01:28 -0800)
committerTom Rini <trini@kernel.crashing.org>
Thu, 15 Jan 2004 09:28:54 +0000 (01:28 -0800)
commit4a4913b6552d59d2b53e3e4645033a4fa185a85c
treeafce3b67544a6b903aee87a092b937b9c2dcccdd
parentb4c0a233d662e476f5cac5a5716ad1c4e0515032
[PATCH] I2C: restore correct vaio handling in eeprom driver

Here is a patch to the eeprom driver in 2.6.1 that changes the way Vaio
eeproms are handled. In 2.6.1, the eeprom is readable only by root,
which isn't consistent with the 2.4 driver which simple hides (i.e.
fills it with zeroes) the first row (16 bytes) of the eeprom to regular
users.

The patch restores a similar behaviour in the 2.6 driver.
drivers/i2c/chips/eeprom.c