Prepare response for mode sense
void modecpy(u8 * dest, const u8 * src, int n, bool changeable);
dest
output buffer
src
data being copied
n
length of mode page
changeable
whether changeable parameters are requested
Generate a generic MODE SENSE page for either current or changeable parameters.
None.
Jeff Garzik
Author.