From: "\"Bernd Krumböck\"" <krumboeck@universalnet.at>
To: Wolfgang Grandegger <wg@grandegger.com>
Cc: linux-can@vger.kernel.org
Subject: Re: SocketCAN driver for USB2CAN converter (8 devices)
Date: Mon, 19 Nov 2012 08:38:14 +0100 [thread overview]
Message-ID: <8debd5be2ec931afe49301e4893c1de0.squirrel@webmail.universalnet.at> (raw)
In-Reply-To: <50A75AC5.4000503@grandegger.com>
Hi Wolfgang!
Many thanks for the information. I will send a patch in about 2 months.
regards,
Bernd
> Hi Bernd,
>
> On 11/17/2012 08:33 AM, "Bernd Krumböck" wrote:
>> Hi!
>>
>> I'm developing a driver for the USB2CAN converter from "8 devices"
>> (http://www.8devices.com/product/2/usb2can).
>>
>> At the moment the community seems to be very small, so I'm the only
>> tester
>> and I have only this USB2CAN converter. Hope this situation will change
>> in
>> future.
>
> I think you need to communicate with another node on the CAN bus to
> fully validate the functionality of the driver, especially to test
> error state and bus-off handling.
>
>> What must be done that this driver will become part of the kernel?
>
> This is a good occasion to update our old "README.submitting-patches",
> which I have attached below:
>
> *********************************************************************
> How to get your Linux-CAN changes into the mainline Linux kernel
> ================================================================
>
> If you have developed a Linux-CAN (aka Socket-CAN) driver patch which
> is already mature in terms of functionality and code quality, you may
> want to get it into the mainline kernel sooner than later.
>
> Note that the GIT home of the Linux-CAN project is at gitorious.org [1].
> There you find the official the "can-utils" and also the "can-modules"
> repository allowing to build *out-of-tree* Linux-CAN kernel modules
> mainly useful for old kernel versions. Unfortunately, it is not well
> maintained and pushing your changes mainline is clearly preferred.
>
> Patches for kernel inclusion:
> ----------------------------
>
> For kernel inclusion you should prepare patches against David Millers
> "net-next-2.6" GIT tree, which you can get as shown below:
>
> $ git clone \
> git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6.git
>
> In case you have a bug fix patch for a "-rcX" kernel release, you should
> use the GIT tree "net-2.6" instead.
>
> Before publishing you should check the following items:
>
> - Please ensure that the patches comply to the Linux coding style rules
> by reading the kernel's "Documentation/CodingStyle" and running the
> script "scripts/checkpatch.pl".
>
> - The patch should contain a proper description and your "signed-off-by"
> line.
>
> - Please use a prefix for the subject similar to the following:
>
> "[PATCH] flexcan: ..."
>
> - Please add a version string to the subject for revised patches, e.g.:
>
> "[PATCH v2] flexcan: ..."
>
> It's also common practice to briefly describe the changes.
>
> - Please send the patches *inline* and take care that your mail client
> does *not* white-space mangle the patch. "git-send-email" does a very
> good job, especially for a series of patches.
>
> - "Documentation/SubmittingPatches" of the kernel tree contains further
> useful information.
>
> The patch should finally be sent to "linux-can@vger.kernel.org" [4] and
> maybe other related mailing lists, e.g. the Linux-USB mailing lists for
> CAN USB drivers.
>
> References:
> ----------
>
> [1] http://gitorious.org/linux-can
> [2] http://gitorious.org/linux-can/can-utils
> [3] http://gitorious.org/linux-can/can-modules
> [4] http://vger.kernel.org/majordomo-info.html
> *********************************************************************
>
> Comments on this HOWTO are welcome.
>
> Wolfgang.
>
next prev parent reply other threads:[~2012-11-19 7:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-17 7:33 SocketCAN driver for USB2CAN converter (8 devices) "Bernd Krumböck"
2012-11-17 9:37 ` Wolfgang Grandegger
2012-11-19 7:38 ` "Bernd Krumböck" [this message]
2012-11-19 18:16 ` Marc Kleine-Budde
2012-11-19 18:24 ` Marc Kleine-Budde
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=8debd5be2ec931afe49301e4893c1de0.squirrel@webmail.universalnet.at \
--to=krumboeck@universalnet.at \
--cc=linux-can@vger.kernel.org \
--cc=wg@grandegger.com \
/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).