Name

ata_msense_caching — Simulate MODE SENSE caching info page

Synopsis

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

Arguments

u16 * id

device IDENTIFY data

u8 * buf

output buffer

bool 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.