24 Commits

Author SHA1 Message Date
Ales Ledvinka
3f53760062 3600929 error keyword 2013-01-16 13:32:41 +00:00
Zdenek Styblik
6733b66a9c ID: 3592732 - 'lib/ipmi_picmg.c' - printf() misuse
Commit replaces printf() with appropriate lprintf() calls. Some error messages
got changed as well.
2012-12-05 07:22:55 +00:00
Zdenek Styblik
daf4c4831f ID: 3528310 - 'lib/ipmi_picmg.c' - NULL reference
Commit fixes reference to rsp which can be NULL if there is no response from
BMC, eg. KCS driver is not loaded.
2012-12-04 19:33:26 +00:00
Jim Mankovich
89037b5158 Enable compiler warnings and resolve all compiler warning so that
ipmitool compiles and links with no warning or error messages
2012-08-03 17:07:07 +00:00
Jim Mankovich
75a7ebf5c7 Amends PICMG's help print out and changes it to ipmitool's way. It
doesn't matter whether printf() outputs at same output as LOG_NOTICE does.
Such
things should be the same for all modules.

Moves argc/help check up in the code, resp. in ipmi_picmg_main(), to
avoid unnecessary query to IPMI dev. It doesn't make sense to query IPMI
device
only to print help and terminate immediately.

Comitted for Duncan Idano
2012-05-02 13:25:04 +00:00
Zdenek Styblik
fb75f8d8fc Remove hardcoded CR('\r') from 'lib/ipmi_picmg.c'. 2012-01-21 05:28:39 +00:00
Zdenek Styblik
54cc84adf2 Fix typo in 'picmg power get help' output. Replaces 'powert' with 'power'. 2012-01-20 18:57:14 +00:00
Francois Isabelle
ab48fc0f55 Added clk getdenied|getall|getgranted support
- improved output format, including name lookup for resource/family etc...
Added initial ' picmg busedresource summary' command support
2010-01-20 15:06:28 +00:00
Francois Isabelle
dece10b9d6 enhanced PICMG fru control
- Fix the help message for the picmg fru control command.  The command doesn't
support an hex argument
 - Changed output format to interpret the raw data supplied
 - Prints 'ok' on success
2009-04-20 15:33:51 +00:00
Carol Hebert
1d3a7ff50a Nit fixes: strncmp length fixes, usage info fixes/additions, spelling and white space fixes 2008-06-10 21:48:28 +00:00
Francois Isabelle
c306d08d7e fixed display format (suppressed TAB from formatted output) 2007-12-14 19:30:12 +00:00
Francois Isabelle
5e455132c1 small change in amcsetportstate help and verbose mode
- port is now 'portflags' to avoid confusion
2007-12-12 20:25:08 +00:00
Francois Isabelle
a654ca2683 improved amcportstate operations
- can now run on AMCs as well as carriers
 - output format is more human readable
thanks to Heiko Thiery for his patch
2007-12-12 15:03:17 +00:00
Jean-Michel Audet
f8bc5ae591 - added fru control
- added amcportstate set
- added clock commands
- improved led command support
2007-04-26 13:21:49 +00:00
Carol Hebert
56b892cea1 Benoit Guillon fix for get fru activation policy args 2007-02-23 19:13:48 +00:00
Carol Hebert
0bad3feabd Benoit Guillon patch for bug in Get FRU Activation Policy result 2007-02-22 23:38:04 +00:00
Francois Isabelle
22f0fc7c00 removed endianness check 2007-02-08 20:22:54 +00:00
Francois Isabelle
cf96efd47d added missing () for operator precedence bug 2007-01-11 21:17:46 +00:00
Francois Isabelle
9cbe0938f1 Added initial AMC ekey query operation support 2007-01-11 21:15:12 +00:00
Francois Isabelle
77b47d3751 improvements to ekeying support (PICMG 3.x only)
- added getall/getgranted/getdenied support
 - changed cli arg parsing (avoid segfaults)
 - changet set portstate interface vs channel ordering
2007-01-11 18:47:53 +00:00
Duncan Laurie
21fb127ce2 fix gcc4 + buildcheck compile problems 2006-03-19 21:15:06 +00:00
Duncan Laurie
c65b206144 fix gcc4 compile warnings 2006-03-19 20:54:44 +00:00
Francois Isabelle
51a92c0917 Corrected typo 2005-07-12 13:38:51 +00:00
Francois Isabelle
2c117c95ea added initial PICMG support
- added command support
 - added PICMG FRU data support
2005-07-12 12:36:00 +00:00