|
@@ -1023,6 +1023,7 @@ extern void ata_scsi_simulate(struct ata_device *dev, struct scsi_cmnd *cmd,
|
|
|
extern int ata_std_bios_param(struct scsi_device *sdev,
|
|
|
struct block_device *bdev,
|
|
|
sector_t capacity, int geom[]);
|
|
|
+extern void ata_scsi_unlock_native_capacity(struct scsi_device *sdev);
|
|
|
extern int ata_scsi_slave_config(struct scsi_device *sdev);
|
|
|
extern void ata_scsi_slave_destroy(struct scsi_device *sdev);
|
|
|
extern int ata_scsi_change_queue_depth(struct scsi_device *sdev,
|
|
@@ -1174,6 +1175,7 @@ extern struct device_attribute *ata_common_sdev_attrs[];
|
|
|
.slave_configure = ata_scsi_slave_config, \
|
|
|
.slave_destroy = ata_scsi_slave_destroy, \
|
|
|
.bios_param = ata_std_bios_param, \
|
|
|
+ .unlock_native_capacity = ata_scsi_unlock_native_capacity, \
|
|
|
.sdev_attrs = ata_common_sdev_attrs
|
|
|
|
|
|
#define ATA_NCQ_SHT(drv_name) \
|