SEEPROM(4) | Kernel Interfaces Manual | SEEPROM(4) |
Access to the contents of the memory is through a character device.
The size of the EEPROM is either read from the firmware, or can be set using the flags keyword in the kernel configuration. The value of the flag represents the EEPROM size in Kbit.
flags | EEPROM size in bytes |
1 |
128 |
2 |
256 |
4 |
512 |
8 |
1024 |
16 |
2048 |
32 |
4096 |
64 |
8192 |
128 |
16384 |
256 |
32768 |
512 |
65536 |
Direct configuration:seeprom* at iic? addr 0x51 flags 0x2
seeprom* at iic? addr?
Software write protection on the AT34Cxx EEPROMs is not supported.
The seeprom driver reads and writes one byte at a time to be compatible with all controllers.
October 25, 2013 | NetBSD 7.1 |