SUMMARY: how do you read hostid from eeprom

From: Met Cirit X-2242 (mcirit@eng.adaptec.com)
Date: Mon Nov 28 1994 - 22:58:49 CST


>Does anybody have some C functions to read eeprom info like the
>machine hostid? I don't want to use the system call, but want
>to get it directly from the hardware.

Thanks to
 
 henderso@netcom.com, markh@wimsey.bc.ca (Mark Henderson)
 pj@carmenta.se ( Per Åkesson)

for sending their code fragments which reads, and as I understand,
can modify, eeprom contents. Mark's code seems to be posted to
comp.sources.unix, although I could not figure out how to retrieve it
from there.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:16 CDT