Two nodes under /dev/EEPROM/ for one EEPROM
- From: benjamin.stadin@xxxxxxxxxxxxxxxxxx
- Date: 28 Oct 2006 04:46:07 -0700
Hi,
I have an 24c64 EEPROM wired via i2c on an embedded device. I want to
"partition" the EEPROM so that I have one node /dev/EEPROM/0 for system
and environment stuff, and another entry /dev/EEPROM/1 for custom data
for the application.
I thought to write a driver for the second device and limit the usage
of the first one. But I guess that would be bad practice when
concurrent access to the EEPROM happens.
What would be a good way to achieve this? Do you think it's possible at
all?
Ben
.
- Prev by Date: Re: Linux console interface
- Next by Date: Re: System calls parameter restrictions
- Previous by thread: Problems with server shutdown
- Next by thread: how to probe an i/o access
- Index(es):
Relevant Pages
|