mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[scsi] Generalise iscsi_detached_command() to scsi_detached_command()
This commit is contained in:
@@ -44,6 +44,18 @@ block_to_scsi ( struct block_device *blockdev ) {
|
||||
return container_of ( blockdev, struct scsi_device, blockdev );
|
||||
}
|
||||
|
||||
/**
|
||||
* Handle SCSI command with no backing device
|
||||
*
|
||||
* @v scsi SCSI device
|
||||
* @v command SCSI command
|
||||
* @ret rc Return status code
|
||||
*/
|
||||
int scsi_detached_command ( struct scsi_device *scsi __unused,
|
||||
struct scsi_command *command __unused ) {
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/**
|
||||
* Issue SCSI command
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user