search for: frame_status

Displaying 2 results from an estimated 2 matches for "frame_status".

2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...csi_status(cmd->pa, SAM_STAT_TASK_ABORTED); + cmd->sge_size = 0; + return MFI_STAT_SCSI_IO_FAILED; + } + return MFI_STAT_INVALID_STATUS; +} + +static void megasas_handle_frame(MPTState *s, target_phys_addr_t frame_addr, + uint32_t frame_count) +{ + uint8_t frame_cmd; + uint8_t frame_status = MFI_STAT_INVALID_CMD; + struct megasas_cmd_t *cmd; + + frame_cmd = ldub_phys(frame_addr); + frame_status = ldub_phys(frame_addr + 2); + +#ifdef DEBUG_MEGASAS_MFI + DPRINTF("MFI cmd %x count %d status %x\n", + frame_cmd, frame_count, frame_status); +#endif + if (s->...
2009 Oct 27
1
[PATCH 2/4] megasas: LSI MegaRAID SAS HBA emulation
...csi_status(cmd->pa, SAM_STAT_TASK_ABORTED); + cmd->sge_size = 0; + return MFI_STAT_SCSI_IO_FAILED; + } + return MFI_STAT_INVALID_STATUS; +} + +static void megasas_handle_frame(MPTState *s, target_phys_addr_t frame_addr, + uint32_t frame_count) +{ + uint8_t frame_cmd; + uint8_t frame_status = MFI_STAT_INVALID_CMD; + struct megasas_cmd_t *cmd; + + frame_cmd = ldub_phys(frame_addr); + frame_status = ldub_phys(frame_addr + 2); + +#ifdef DEBUG_MEGASAS_MFI + DPRINTF("MFI cmd %x count %d status %x\n", + frame_cmd, frame_count, frame_status); +#endif + if (s->...