From: Manu Gautam <mgautam@codeaurora.org>
To: balbi@ti.com
Cc: Manu Gautam <mgautam@codeaurora.org>,
Jack Pham <jackp@codeaurora.org>,
pheatwol@codeaurora.org, linux-usb@vger.kernel.org,
linux-arm-msm@vger.kernel.org, gregkh@linuxfoundation.org
Subject: Re: [PATCH v2 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode
Date: Tue, 24 Sep 2013 15:00:20 +0530 [thread overview]
Message-ID: <52415BAC.6030708@codeaurora.org> (raw)
In-Reply-To: <1379678152-9617-1-git-send-email-mgautam@codeaurora.org>
Hi Felipe,
I wanted to mention one point with respect to this patch:
Below changes in the functionfs.h to add ss_count (super speed
descriptors count) in desc_header (which is passed from userspace) make
the driver incompatible with existing userspace applications compiled
against old header file. Let me know if that is acceptable.
We are using this driver with Android for adbd (android debug bridge)
and these changes are required to support adb over Super Speed
controllers e.g. DWC3 along with changed in adbd to pass SS EP and
companion descriptors.
Regards,
Manu
On 9/20/2013 5:25 PM, Manu Gautam wrote:
> diff --git a/include/uapi/linux/usb/functionfs.h b/include/uapi/linux/usb/functionfs.h
> index d6b0128..d6940d7 100644
> --- a/include/uapi/linux/usb/functionfs.h
> +++ b/include/uapi/linux/usb/functionfs.h
> @@ -37,6 +37,7 @@ struct usb_functionfs_descs_head {
> __le32 length;
> __le32 fs_count;
> __le32 hs_count;
> + __le32 ss_count;
> } __attribute__((packed));
>
> /*
> @@ -48,8 +49,10 @@ struct usb_functionfs_descs_head {
> * | 4 | length | LE32 | length of the whole data chunk |
> * | 8 | fs_count | LE32 | number of full-speed descriptors |
> * | 12 | hs_count | LE32 | number of high-speed descriptors |
> - * | 16 | fs_descrs | Descriptor[] | list of full-speed descriptors |
> + * | 16 | ss_count | LE32 | number of super-speed descriptors |
> + * | 20 | fs_descrs | Descriptor[] | list of full-speed descriptors |
> * | | hs_descrs | Descriptor[] | list of high-speed descriptors |
> + * | | ss_descrs | Descriptor[] | list of super-speed descriptors |
next prev parent reply other threads:[~2013-09-24 9:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-20 11:55 [PATCH v2 1/1] usb: gadget: f_fs: Add support for SuperSpeed Mode Manu Gautam
2013-09-24 9:30 ` Manu Gautam [this message]
2013-09-25 20:40 ` Felipe Balbi
2013-09-26 7:07 ` Manu Gautam
[not found] ` <5243DD3A.8080603-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2013-09-27 20:22 ` Paul Zimmerman
2013-09-30 9:01 ` Manu Gautam
[not found] ` <52493DFE.503-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>
2013-10-01 14:37 ` Felipe Balbi
2013-10-02 4:36 ` Manu Gautam
2013-10-08 4:22 ` Manu Gautam
2013-11-26 17:41 ` Felipe Balbi
[not found] ` <20131126174129.GR24310-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2013-12-20 10:04 ` Manu Gautam
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=52415BAC.6030708@codeaurora.org \
--to=mgautam@codeaurora.org \
--cc=balbi@ti.com \
--cc=gregkh@linuxfoundation.org \
--cc=jackp@codeaurora.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=pheatwol@codeaurora.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).