Name

__ata_change_queue_depth — helper for ata_scsi_change_queue_depth

Synopsis

int __ata_change_queue_depth (struct ata_port * ap,
 struct scsi_device * sdev,
 int queue_depth);
 

Arguments

struct ata_port * ap

ATA port to which the device change the queue depth

struct scsi_device * sdev

SCSI device to configure queue depth for

int queue_depth

new queue depth

Description

libsas and libata have different approaches for associating a sdev to its ata_port.