Searched hist:af0e1ea2d32eafd837c51326368ce2d8f36e6871 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/ide/ |
H A D | atapi.c | diff af0e1ea2d32eafd837c51326368ce2d8f36e6871 Mon Oct 17 09:34:59 CDT 2011 Paolo Bonzini <pbonzini@redhat.com> 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>
|