Paolo Bonzini af0e1ea2d3 atapi: cleanup/fix mode sense results
The first two bytes (after the 8-byte ATAPI header) are the mode page
number and the number of bytes after the length field itself.  Make
this clear in the code.

The AUDIO_CTL page was filled with wrong values.  It is not anymore in
MMC, but at least keep the values sane.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-10-28 19:25:50 +02:00
..
2011-09-21 14:32:20 +02:00
2011-09-21 14:32:20 +02:00
2011-10-28 19:25:50 +02:00
2011-10-28 19:25:50 +02:00
2011-09-21 14:32:20 +02:00
2011-10-11 15:57:11 +02:00
2011-10-28 19:25:50 +02:00
2011-08-08 10:15:54 -05:00
2011-10-11 15:57:11 +02:00