From: Jean-Michel A. <au...@us...> - 2007-04-26 13:15:01
|
Update of /cvsroot/ipmitool/ipmitool/lib In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv18575 Modified Files: ipmi_fru.c Log Message: - added fru parsing address table - added fru parsing shelf power dist - added fru parsing shelf activation - added fru parsing amc current requirement - added fru parsing amc p2p - added fru parsing amc carrier info - added fru parsing clk p2p - added fru parsing clk config - enhancement in baord p2p Index: ipmi_fru.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/lib/ipmi_fru.c,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** ipmi_fru.c 22 Feb 2007 22:03:32 -0000 1.43 --- ipmi_fru.c 26 Apr 2007 13:14:53 -0000 1.44 *************** *** 199,262 **** static uint16_t fru_data_rqst_size = 32; uint16_t off=0, tmp, finish; ! struct ipmi_rs * rsp; ! struct ipmi_rq req; uint8_t msg_data[25]; uint8_t writeLength; ! finish = doffset + length; /* destination offset */ ! if (finish > fru->size) ! { [...1833 lines suppressed...] fprintf(stderr,"File name must be smaller than 512 bytes\n"); } ! } else ! { printf("fru read <fru id> <fru file>\n"); } *************** *** 2107,2111 **** lprintf(LOG_ERR, "FRU Commands: print read write upgEkey edit"); rc = -1; ! } return rc; --- 2574,2578 ---- lprintf(LOG_ERR, "FRU Commands: print read write upgEkey edit"); rc = -1; ! } return rc; |