From: Lonnie Mendez <lmendez19@austin.rr.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [usb] correct defines for usb-msd massstoragereset and getmaxlun
Date: Wed, 14 Jun 2006 22:44:15 -0500 [thread overview]
Message-ID: <1150343055.5160.12.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 209 bytes --]
lo list. This is a patch to correct the GetMaxLun and
MassStorageReset defines in hw/usb-msd.c. The switch statement is
checking against both request type and request. It was discussed
briefly in #qemu.
[-- Attachment #2: qemu-msd.diff --]
[-- Type: text/x-patch, Size: 360 bytes --]
--- qemu/hw/usb-msd.c 2006-06-14 22:21:29.000000000 -0500
+++ qemu/hw/usb-msd.c 2006-06-14 22:23:09.000000000 -0500
@@ -19,8 +19,8 @@
#endif
/* USB requests. */
-#define MassStorageReset 0xff
-#define GetMaxLun 0xfe
+#define MassStorageReset 0x21ff
+#define GetMaxLun 0xa1fe
enum USBMSDMode {
USB_MSDM_CBW, /* Command Block. */
reply other threads:[~2006-06-15 3:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1150343055.5160.12.camel@localhost \
--to=lmendez19@austin.rr.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).