.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "WRITE_EEPROM" "9" "09 October 2005" "" "" .SH NAME write_eeprom \- actually writes the relevant part of the data value. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int write_eeprom (nic_t * \fIsp\fB, int \fIoff\fB, u32 \fIdata\fB, int \fIcnt\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsp\fB\fR private member of the device structure, which is a pointer to the s2io_nic structure. .TP \fB\fIoff\fB\fR offset at which the data must be written .TP \fB\fIdata\fB\fR The data that is to be written .TP \fB\fIcnt\fB\fR Number of bytes of the data that are actually to be written into the Eeprom. (max of 3) .SH "DESCRIPTION" .PP Actually writes the relevant part of the data value into the Eeprom through the I2C bus. .SH "RETURN VALUE" .PP 0 on success, -1 on failure.