diff options
author | Paolo Bonzini | 2011-10-17 16:34:59 +0200 |
---|---|---|
committer | Kevin Wolf | 2011-10-28 19:25:50 +0200 |
commit | af0e1ea2d32eafd837c51326368ce2d8f36e6871 (patch) | |
tree | 7d387e93b816b0285da66e042a93934e8eb23933 /hw/pl080.c | |
parent | atapi: move GESN definitions to scsi-defs.h (diff) | |
download | qemu-af0e1ea2d32eafd837c51326368ce2d8f36e6871.tar.gz qemu-af0e1ea2d32eafd837c51326368ce2d8f36e6871.tar.xz qemu-af0e1ea2d32eafd837c51326368ce2d8f36e6871.zip |
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>
Diffstat (limited to 'hw/pl080.c')
0 files changed, 0 insertions, 0 deletions