ata_msense_caching

Name

ata_msense_caching --  Simulate MODE SENSE caching info page

Synopsis

unsigned int ata_msense_caching (struct ata_device * dev, u8 ** ptr_io, const u8 * last);

Arguments

dev

Device associated with this MODE SENSE command

ptr_io

(input/output) Location to store more output data

last

End of output data buffer

Description

Generate a caching info page, which conditionally indicates write caching to the SCSI layer, depending on device capabilities.

LOCKING

None.