From: Jean-Michel A. <au...@us...> - 2005-07-14 15:56:13
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2828/lib Modified Files: ipmi_fru.c Log Message: -Modified read length to fit bridge message (mostly for AMC) Index: ipmi_fru.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_fru.c,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** ipmi_fru.c 12 Jul 2005 13:15:02 -0000 1.23 --- ipmi_fru.c 14 Jul 2005 15:56:04 -0000 1.24 *************** *** 50,81 **** extern int verbose; ! extern int ipmi_spd_print(struct ipmi_intf *intf, uint8_t id); ! static void ipmi_fru_read_to_bin(struct ipmi_intf *intf, ! unsigned char *pFileName, unsigned char fruId); ! static void ipmi_fru_write_from_bin(struct ipmi_intf *intf, ! unsigned char *pFileName, ! unsigned char fruId); ! static int ipmi_fru_upg_ekeying(struct ipmi_intf *intf, ! unsigned char *pFileName, unsigned char fruId); [...2764 lines suppressed...] ! } ! if( ! ((header.offset.board * 8) > (header.offset.board * 8)) && ! ((header.offset.board * 8) < end) ! ) ! { ! end = (header.offset.board * 8); ! } ! if( ! ((header.offset.product * 8) > (header.offset.product * 8)) && ! ((header.offset.product * 8) < end) ! ) ! { ! end = (header.offset.product * 8); ! } ! *pRetSize = end; ! *pRetLocation = 8 * header.offset.multi; ! return 0; } |