Name

ata_msense_caching — Simulate MODE SENSE caching info page

Synopsis

unsigned int ata_msense_caching (u16 * id,
 u8 * buf,
 bool changeable);
 

Arguments

id

device IDENTIFY data

buf

output buffer

changeable

whether changeable parameters are requested

Description

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

LOCKING: None.