.\" 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 "S2IO_ETHTOOL_GEEPROM" "9" "09 October 2005" "" "" .SH NAME s2io_ethtool_geeprom \- reads the value stored in the Eeprom. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int s2io_ethtool_geeprom (struct net_device * \fIdev\fB, struct ethtool_eeprom * \fIeeprom\fB, u8 * \fIdata_buf\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR -- undescribed -- .TP \fB\fIeeprom\fB\fR pointer to the user level structure provided by ethtool, containing all relevant information. .TP \fB\fIdata_buf\fB\fR user defined value to be written into Eeprom. .SH "DESCRIPTION" .PP Reads the values stored in the Eeprom at given offset for a given length. Stores these values int the input argument data buffer 'data_buf' and returns these to the caller (ethtool.) .SH "RETURN VALUE" .PP int 0 on success