Re: Accessing EEPROM from Linux driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 24, 2012 at 11:06 AM, Wolfram Sang <w.sang@xxxxxxxxxxxxxx> wrote:
>
>> sysfs from userland. What were the appropriate method of accessing
>> EEPROM from a network driver? AFAIK no functions were exported from
>> eeprom.c.
>
> Please state always which version you are using. There is code exactly
> for your use case in the driver since ~2.6.30 (and clearly described as
> such).
>
> 437 /*
> 438  * This lets other kernel code access the eeprom data. For example, it
> 439  * might hold a board's Ethernet address, or board-specific calibration
> 440  * data generated on the manufacturing floor.
> 441  */

Thanks. My bad, I overlooked this.

Regards,
Yegor
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux