1. NAME

modecpy - Prepare response for MODE SENSE

2. SYNOPSIS

void modecpy(u8 *  dest , const u8 *  src , int  n , bool  changeable );

3. ARGUMENTS

dest
    output buffer

src
    data being copied

n
    length of mode page

changeable
    whether changeable parameters are requested

4. DESCRIPTION

Generate a generic MODE SENSE page for either current or changeable parameters.

5. LOCKING

None.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT