diff options
Diffstat (limited to 'lib/ipmi_raw.c')
-rw-r--r-- | lib/ipmi_raw.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/ipmi_raw.c b/lib/ipmi_raw.c index 6959c1f..92c0177 100644 --- a/lib/ipmi_raw.c +++ b/lib/ipmi_raw.c @@ -39,13 +39,13 @@ #include <ipmitool/helper.h> #include <ipmitool/ipmi_intf.h> #include <ipmitool/ipmi_raw.h> -#include <ipmitool/ipmi_fru.h> #include <ipmitool/ipmi_strings.h> #define IPMI_I2C_MASTER_MAX_SIZE 0x40 /* 64 bytes */ static int is_valid_param(const char *input_param, uint8_t *uchr_ptr, const char *label); +int ipmi_spd_print(uint8_t *, int); /* ipmi_master_write_read - Perform I2C write/read transactions * @@ -130,7 +130,7 @@ ipmi_master_write_read(struct ipmi_intf * intf, uint8_t bus, uint8_t addr, return rsp; } -#define RAW_SPD_SIZE 256 +#define RAW_SPD_SIZE 512 int ipmi_rawspd_main(struct ipmi_intf * intf, int argc, char ** argv) @@ -337,9 +337,6 @@ ipmi_raw_main(struct ipmi_intf * intf, int argc, char ** argv) return -1; } - ipmi_intf_session_set_timeout(intf, 15); - ipmi_intf_session_set_retry(intf, 1); - lun = intf->target_lun; netfn_tmp = str2val(argv[0], ipmi_netfn_vals); if (netfn_tmp == 0xff) { |