smbiosmdrv2handler: move mdr2 send dir to new API
Rewrite "MDRII_SEND_DIR" command to new IPMI provider API.
Tested:
verified using ipmitool smbiosmdrv2handler commands.
a. mdr2 send dir, before and after the changes.
ipmitool raw 0x3E 0x38 0x01 0x01 0 0 2 3 40 41 42 43 44 45 46 47 48 49
50 51 52 53 50 0x42 1 1 1 1 0 0 1 1 0 0 0 1 1 0xa 1 1
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x38 rsp=0xce): Command response could not be provided
ipmitool raw 0x3E 0x38 0x01 0x01 0 0 0xff 0xff 40 41 42 43 44 45 46 47
48 49 50 51 52 53 50 0x42 1 1 1 1 0 0 1 1 0 0 0 1 1 0xa 1 1
Output: Unable to send RAW command (channel=0x0 netfn=0x3e lun=0x0
cmd=0x38 rsp=0xc4): Out of space
Signed-off-by: jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
Change-Id: I5c2ef08965949cffd7863689a0b010928ccfc786
2 files changed