ATA_SCSI_BADCMD
Section: (9)
Updated: 09 October 2005
Index
Return to Main Contents
NAME
ata_scsi_badcmd - End a SCSI request with an error
SYNOPSIS
"SYNOPSIS"
void ata_scsi_badcmd (struct scsi_cmnd * cmd, void (*done)
struct scsi_cmnd *, u8 asc, u8 ascq);
ARGUMENTS
- cmd
-
SCSI request to be handled
- done
-
SCSI command completion function
- asc
-
SCSI-defined additional sense code
- ascq
-
SCSI-defined additional sense code qualifier
DESCRIPTION
Helper function that completes a SCSI command with
SAM_STAT_CHECK_CONDITION, with a sense key ILLEGAL_REQUEST
and the specified additional sense codes.
LOCKING
spin_lock_irqsave(host_set lock)
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- LOCKING
-
This document was created by
man2html,
using the manual pages.
Time: 00:01:56 GMT, October 09, 2005