Re: Why eeprom driver is read-only ?

2018-11-19 Thread Ranran
On Tue, Nov 20, 2018 at 12:32 AM wrote: > > On Tue, 20 Nov 2018 00:04:03 +0200, Ranran said: > > > That's interesting... > > I think the name is confusing, because this chips are also writable. > > > > Not only this, but in arm the eeprom (at24) is writable! > > But in the x86 I am using, it is

Re: Why eeprom driver is read-only ?

2018-11-19 Thread valdis . kletnieks
On Tue, 20 Nov 2018 00:04:03 +0200, Ranran said: > That's interesting... > I think the name is confusing, because this chips are also writable. > > Not only this, but in arm the eeprom (at24) is writable! > But in the x86 I am using, it is readonly in kernel code: >

Re: Why eeprom driver is read-only ?

2018-11-19 Thread Ranran
On Mon, Nov 19, 2018 at 3:13 PM Ruben Safir wrote: > > On 11/19/18 7:08 AM, Ranran wrote: > > Hello, > > > > What is the reason that kernel driver of eeprom is configured only as > > read-only ? > > > > Is it because the BIOS is stored there ? > > > > Is there a way to make it writable ? > > > >

Re: Why eeprom driver is read-only ?

2018-11-19 Thread Chriz Chow
Hello, It seems that some drivers in drivers/misc/eeprom does support write access. For example at24.c seems to have a function at24_write(). https://github.com/torvalds/linux/blob/master/drivers/misc/eeprom/at24.c However some drivers doesn’t have write support, I believe it is because of

Re: Why eeprom driver is read-only ?

2018-11-19 Thread Ruben Safir
On 11/19/18 7:08 AM, Ranran wrote: > Hello, > > What is the reason that kernel driver of eeprom is configured only as > read-only ? > > Is it because the BIOS is stored there ? > > Is there a way to make it writable ? > > Thank you, > Ran > > ___ >

Why eeprom driver is read-only ?

2018-11-19 Thread Ranran
Hello, What is the reason that kernel driver of eeprom is configured only as read-only ? Is it because the BIOS is stored there ? Is there a way to make it writable ? Thank you, Ran ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org