709 Commits

Author SHA1 Message Date
Jordan Hargrave
ae1fe95cb1 Cleared set_access structure; contained garbage data 2005-12-09 19:57:48 +00:00
Jean-Michel Audet
f42f7c701c Add support for bridged message over different channel
Ex.: In an ATCA environment, send a message through the LAN iface
to another blade present in the chassis or to an AMC bay.
Tested:
Lan.c with Kontron AT8001 with Intel CMM shelf manager
Lan.c with Kontron AT8001 with Kontron AMC's
Lanplus.c with Kontron AT8001 with Intel CMM shelf manager
Lanplus.c with Kontron AT8001 with Kontron AMC's
2005-11-28 18:45:37 +00:00
Jean-Michel Audet
29f43931e4 * Change maximum channel size for 0x0e (current channel) 2005-11-24 16:08:51 +00:00
Jean-Michel Audet
2ea87e639b * Add command to get and clear UDP/RMCP/IP Statistics 2005-11-24 16:04:37 +00:00
Jean-Michel Audet
8ec87a396e * Add priv commands to set user privileges 2005-11-23 21:59:23 +00:00
Jean-Michel Audet
cd7e75a9d5 * Fix req_seq issue with RMCP+ 2005-11-23 21:45:37 +00:00
Jean-Michel Audet
738cf02694 On all IPMI commands, the structure ipmi_rq must be cleared (memset(&req, 0, sizeof(req)).
This was not done for the 4 commands sent.  This was causing some commands
sent to the KCS interface to have an invalid LUN.
2005-10-28 14:10:48 +00:00
Duncan Laurie
f7519e00eb revert 6-bit ascii size computation 2005-09-29 18:40:04 +00:00
Duncan Laurie
c546582e92 new command for Add SEL Entry on event list from file 2005-09-23 20:08:51 +00:00
Duncan Laurie
22c7f92135 add event direction to output 2005-09-23 20:07:50 +00:00
Duncan Laurie
f449928806 don't print builtin fru header twice 2005-09-09 23:27:11 +00:00
Duncan Laurie
8a0559a651 add top-level "power" command as shortcut to chassis power commands 2005-09-09 23:19:41 +00:00
Duncan Laurie
6cb97e4327 6-bit packed ascii size computation was not correctly handling strings that are not 3-byte aligned 2005-09-09 23:17:55 +00:00
Jean-Michel Audet
a15d6a31ac - Fix a bug where the retry-count parameters was 'anded' with 0x03 instead of 0x07
See IPMI specification 2.0 rev 1.0 markup june 2004 table 26-5 parameters 4
2005-09-09 17:09:50 +00:00
Duncan Laurie
77275ab616 sel version output is 4-bit bcd in a single byte 2005-09-06 22:43:10 +00:00
Duncan Laurie
32c94e3eae update version to 1.8.4 2005-09-06 22:02:03 +00:00
Duncan Laurie
36e388648d add 'echo' command for use in ipmi scripts 2005-09-06 22:00:45 +00:00
Duncan Laurie
aac4cc9e05 remove constraint on table size, a size of 0 can actually mean just entry 0 is populated 2005-09-06 18:37:38 +00:00
Duncan Laurie
c552839583 forgot to add config.h 2005-09-02 18:12:04 +00:00
Duncan Laurie
9dd625a215 don't print access info for non-lan channels 2005-09-02 17:57:05 +00:00
Duncan Laurie
f50160a9e4 fix portability issues 2005-09-02 17:56:27 +00:00
Jon Cassorla
67a60f1c9d Adjust sel info output 2005-09-01 20:57:09 +00:00
Duncan Laurie
7eeae98fb4 optimize sign extension 2005-08-27 02:26:32 +00:00
Duncan Laurie
ae92538cbb fix formatting issues 2005-08-26 23:00:56 +00:00
Jon Cassorla
558f279597 manufacturer id is lsb first on oem sel records 2005-08-23 20:55:09 +00:00
Duncan Laurie
4e9fb18ef6 eliminate extra noise 2005-08-23 20:51:53 +00:00
Duncan Laurie
dc7c60b7a8 fix segfault when BMC does not support locking 2005-08-23 20:50:15 +00:00
Duncan Laurie
38d0926d9f add Tyan IPMIv1.5 SOL code, contributed by Tyan Computer Corp
it may need some work to fine tune the behavior on actual
hardware but this is the initial raw code contribution.
2005-08-23 19:09:25 +00:00
Duncan Laurie
661a80433e let event specific pef policies continue to print info 2005-08-23 19:05:43 +00:00
Duncan Laurie
a4c5e7bda0 revert email address change that was made 2005-08-23 19:05:14 +00:00
Duncan Laurie
cf40042856 update a few strings 2005-08-23 19:03:24 +00:00
Duncan Laurie
92876549ab add support for enabling/disabling lan alerting for channel; default to enabled 2005-08-23 19:02:50 +00:00
Duncan Laurie
141721d220 increase timeout and limit retries to 1 for raw commands 2005-08-23 19:01:35 +00:00
Duncan Laurie
1e0164c253 allow 'sel time set now' to set sel time to current client time 2005-08-23 18:59:43 +00:00
Duncan Laurie
ecb214d423 add support for configuring lan alerting 2005-08-23 17:59:09 +00:00
Duncan Laurie
1196369aaf let entity id be specified as string 2005-08-22 16:32:24 +00:00
Duncan Laurie
bfe06ebd98 extra argument to function removed 2005-08-22 16:31:31 +00:00
Duncan Laurie
58e4e355f8 fix segfault when raw command returns error 2005-08-18 23:54:27 +00:00
Jon Cassorla
9d762b82a0 Recognize and decipher OEM SEL entries properly 2005-08-17 20:34:21 +00:00
Duncan Laurie
9ad01e6eed fix a few gcc4 compile warnings, lots remaining... 2005-08-11 16:20:36 +00:00
Duncan Laurie
53c97bc5b4 not closing session after chassis power control can be bad for session management on the bmc 2005-08-11 16:18:22 +00:00
Duncan Laurie
6ab2eb972e gcc4 is very picky about signedness and event_type is only 7 bits. not sure if this is gcc bug or not. 2005-08-11 16:10:51 +00:00
Francois Isabelle
e25e0b8e71 Update write_fru_area Api so both upgEkey and fru write works properly
also added some comments. And change some printf to lprintf
 - added soffset(source offset) and doffset(destination) parameters to write_fru_area
2005-07-26 14:40:23 +00:00
Duncan Laurie
cfd7f610cb rename define to be more correct 2005-07-14 23:51:52 +00:00
Duncan Laurie
f9d19aa0c5 fix typo and simplify string 2005-07-14 23:44:33 +00:00
Duncan Laurie
6a90734a67 add sun id 2005-07-14 23:40:25 +00:00
Duncan Laurie
2440c09d50 update sensor type code table 2005-07-14 23:06:45 +00:00
Duncan Laurie
1f597a78e2 prevent segfault on bad SEL data 2005-07-14 21:47:20 +00:00
Jean-Michel Audet
f4dd419fe6 -Modified read length to fit bridge message (mostly for AMC) 2005-07-14 15:56:04 +00:00
Duncan Laurie
b3472220af make this function a macro 2005-07-14 00:21:26 +00:00