From: Greg KH <gregkh@suse.de>
To: Klaus Schwarzkopf <schwarzkopf@sensortherm.de>
Cc: balbi@ti.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: add new usb gadget for ACM and mass storage
Date: Fri, 9 Sep 2011 11:45:47 -0700 [thread overview]
Message-ID: <20110909184547.GB30278@suse.de> (raw)
In-Reply-To: <4E69D032.4050807@sensortherm.de>
On Fri, Sep 09, 2011 at 10:37:06AM +0200, Klaus Schwarzkopf wrote:
> Am 08.09.2011 21:11, schrieb Greg KH:
> >On Thu, Sep 08, 2011 at 08:24:47PM +0200, Klaus Schwarzkopf wrote:
> >>This driver provides two functions in one configuration:
> >>a mass storage, and a CDC ACM (serial port) link.
> >>Heavily based on multi.c and cdc2.c
> >
> >I thought the "composite" framework make it so that drivers like this
> >were no longer needed. Or am I mistaken somehow?
> >
>
>
> The "composite" framework enabled drivers with two or more
> functions. For example the cdc2.c driver have support for ECM and
> ACM.
>
>
> >>+ * This program is free software; you can redistribute it and/or modify
> >>+ * it under the terms of the GNU General Public License as published by
> >>+ * the Free Software Foundation; either version 2 of the License, or
> >>+ * (at your option) any later version.
> >
> >Do you really mean "any later version"?
>
>
> The acm_ms.c file is heavly based on the cdc2.c file with this
> paragraph. Can i change this without breaking the license?
No, just wanted to make sure that you, and your company (if any) was
positive that this is what you want to do here.
> >>+ * This program is distributed in the hope that it will be useful,
> >>+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
> >>+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> >>+ * GNU General Public License for more details.
> >>+ *
> >>+ * You should have received a copy of the GNU General Public License
> >>+ * along with this program; if not, write to the Free Software
> >>+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> >
> >These two paragraphs are not needed, and the address is a very bad idea
> >to include in any file as it changes over time and I don't think you
> >want to keep up with the address location of the FSF for the next 40+
> >years.
> >
> >As an example of this, I am starting to get patches from the FSF to fix
> >up old addresses, 10 years after moving their office...
> >
>
> OK, i remove this lines.
>
> Can i remove this lines in all files of the directory drivers/usb/gadget?
I see you just did, thanks so much :)
> +#define CDC_VENDOR_NUM 0x1d6b /* Linux Foundation */
> +#define CDC_PRODUCT_NUM 0x0106 /* CDC Composite: ACM + MS*/
>
> I used the next free device ID from
> http://www.linux-usb.org/usb.ids, is this ok?
No it isn't, you need to ask me to assign you an id. I'll do that when
I accept the patch for merging into the kernel, and not before.
I'd like to get some of the gadget driver developers to sign off on this
patch before accepting it...
thanks,
greg k-h
next prev parent reply other threads:[~2011-09-09 18:47 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-08 18:24 [PATCH] usb: add new usb gadget for ACM and mass storage Klaus Schwarzkopf
2011-09-08 19:11 ` Greg KH
2011-09-09 8:37 ` Klaus Schwarzkopf
2011-09-09 10:30 ` Michal Nazarewicz
2011-09-09 18:45 ` Greg KH [this message]
2011-09-09 10:20 ` Michal Nazarewicz
2011-09-09 18:43 ` Greg KH
2011-09-16 17:18 ` Sebastian Andrzej Siewior
2011-09-16 17:25 ` Greg KH
2011-09-16 17:30 ` Michal Nazarewicz
2011-09-16 18:22 ` Steve Calfee
2011-09-16 18:55 ` Sebastian Andrzej Siewior
2011-09-16 21:22 ` Alan Stern
2011-10-06 12:08 ` Felipe Balbi
2011-10-07 8:23 ` Klaus Schwarzkopf
2011-10-07 8:38 ` Felipe Balbi
2011-10-07 10:07 ` Klaus Schwarzkopf
2011-10-07 10:14 ` Felipe Balbi
2011-10-07 11:13 ` Sergei Shtylyov
2011-10-07 12:55 ` Felipe Balbi
2011-10-07 11:11 ` Sergei Shtylyov
2011-10-07 8:16 ` [PATCH v2] " Klaus Schwarzkopf
2011-10-07 8:39 ` Felipe Balbi
2011-10-08 7:44 ` [PATCH v3] " Klaus Schwarzkopf
2011-10-10 5:50 ` Felipe Balbi
2011-10-10 8:33 ` Klaus Schwarzkopf
2011-10-10 8:49 ` Felipe Balbi
2011-10-10 10:30 ` Klaus Schwarzkopf
2011-10-10 15:14 ` Alan Stern
2011-10-10 16:00 ` Michal Nazarewicz
2011-10-10 8:32 ` [PATCH v4] " Klaus Schwarzkopf
2011-10-13 17:43 ` Felipe Balbi
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=20110909184547.GB30278@suse.de \
--to=gregkh@suse.de \
--cc=balbi@ti.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=schwarzkopf@sensortherm.de \
/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