search for: did_abort

Displaying 7 results from an estimated 7 matches for "did_abort".

2013 Aug 16
0
RocketRAID cards (actually, solved)
...ed, presuming it's in use elsewhere, and I'm making minimal changes to the code. /* #ifndef IRQ_HANDLED */ #ifndef _LINUX_IRQRETURN_H 4. In osm_linux.c, I changed from the first line below to the second. /* SCpnt->result = ((DRIVER_INVALID|SUGGEST_ABORT)<<24) | (DID_ABORT<<16); */ SCpnt->result = ((DRIVER_INVALID|TASK_ABORTED)<<24) | (DID_ABORT<<16); Again, some defines are long gone. I chose TASK_ABORTED because it had the same hex value as SUGGEST_ABORT, 0x20, and seemed appropriate. Then it was cd into rr232x-linux-src-v1...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...ED: > + cmd->result |= (DID_ERROR << 16); > + break; > + > + case BTSTAT_SENTRST: > + case BTSTAT_RECVRST: > + case BTSTAT_BUSRESET: > + cmd->result = (DID_RESET << 16); > + break; > + > + case BTSTAT_ABORTQUEUE: > + cmd->result = (DID_ABORT << 16); > + break; > + > + case BTSTAT_SCSIPARITY: > + cmd->result = (DID_PARITY << 16); > + break; > + > + default: > + cmd->result = (DID_ERROR << 16); > + scmd_printk(KERN_DEBUG, cmd, > + "Unknown completion status: 0x...
2009 Sep 30
1
SCSI driver for VMware's virtual HBA - V5.
...ED: > + cmd->result |= (DID_ERROR << 16); > + break; > + > + case BTSTAT_SENTRST: > + case BTSTAT_RECVRST: > + case BTSTAT_BUSRESET: > + cmd->result = (DID_RESET << 16); > + break; > + > + case BTSTAT_ABORTQUEUE: > + cmd->result = (DID_ABORT << 16); > + break; > + > + case BTSTAT_SCSIPARITY: > + cmd->result = (DID_PARITY << 16); > + break; > + > + default: > + cmd->result = (DID_ERROR << 16); > + scmd_printk(KERN_DEBUG, cmd, > + "Unknown completion status: 0x...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...FTWARE: + case BTSTAT_BUSFREE: + case BTSTAT_SENSFAILED: + cmd->result |= (DID_ERROR << 16); + break; + + case BTSTAT_SENTRST: + case BTSTAT_RECVRST: + case BTSTAT_BUSRESET: + cmd->result = (DID_RESET << 16); + break; + + case BTSTAT_ABORTQUEUE: + cmd->result = (DID_ABORT << 16); + break; + + case BTSTAT_SCSIPARITY: + cmd->result = (DID_PARITY << 16); + break; + + default: + cmd->result = (DID_ERROR << 16); + scmd_printk(KERN_DEBUG, cmd, + "Unknown completion status: 0x%x\n", + btstat); + } + + dev_dbg(&amp...
2009 Oct 13
1
SCSI driver for VMware's virtual HBA - V6.
...FTWARE: + case BTSTAT_BUSFREE: + case BTSTAT_SENSFAILED: + cmd->result |= (DID_ERROR << 16); + break; + + case BTSTAT_SENTRST: + case BTSTAT_RECVRST: + case BTSTAT_BUSRESET: + cmd->result = (DID_RESET << 16); + break; + + case BTSTAT_ABORTQUEUE: + cmd->result = (DID_ABORT << 16); + break; + + case BTSTAT_SCSIPARITY: + cmd->result = (DID_PARITY << 16); + break; + + default: + cmd->result = (DID_ERROR << 16); + scmd_printk(KERN_DEBUG, cmd, + "Unknown completion status: 0x%x\n", + btstat); + } + + dev_dbg(&amp...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...scsi_set_resid(scp, scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); scp->result = SAM_STAT_CHECK_CONDITION; memcpy(scp->sense_buffer, &req->sg_list, SCSI_SENSE_BUFFERSIZE); goto skip_resid; - break; default: scp->result = DRIVER_INVALID << 24 | DID_ABORT << 16; break; } diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index b0aa58d117cc..e451102b9a29 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -9485,11 +9485,10 @@ static pci_ers_result_t ipr_pci_error_detected(struct pci_dev *pdev, ipr_pci_frozen(pdev); return P...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...scsi_set_resid(scp, scsi_bufflen(scp) - le32_to_cpu(req->dataxfer_length)); scp->result = SAM_STAT_CHECK_CONDITION; memcpy(scp->sense_buffer, &req->sg_list, SCSI_SENSE_BUFFERSIZE); goto skip_resid; - break; default: scp->result = DRIVER_INVALID << 24 | DID_ABORT << 16; break; } diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index b0aa58d117cc..e451102b9a29 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -9485,11 +9485,10 @@ static pci_ers_result_t ipr_pci_error_detected(struct pci_dev *pdev, ipr_pci_frozen(pdev); return P...