From: Wolfgang Grandegger <wg@grandegger.com>
To: Thierry BULTEL <thierry.bultel@wanadoo.fr>
Cc: xenomai@xenomai.org, Linux-CAN <linux-can@vger.kernel.org>
Subject: Re: [Xenomai] RTDM driver for the Advantech 1680U CANbus Adapter
Date: Tue, 03 Jul 2012 22:29:31 +0200 [thread overview]
Message-ID: <4FF3562B.7020902@grandegger.com> (raw)
In-Reply-To: <1012208988.15650.1341343674156.JavaMail.www@wwinf1m30>
Hi Thierry,
On 07/03/2012 09:27 PM, Thierry BULTEL wrote:
> Hi Wolfgang,
>
>
>
> Thanks for your feedback.
>
>
>
> The issue is that I did not realize that the patch would not have been accepted as such, so I will have to invest more time on than expected ...
>
> so I will not be able to do so immediately.
No problem.
> Several comments, to your comments
>
>
> - I agree for the multiple devices, theoretically supported by the original Linux driver. I intentionnally removed them, since I do not have the appropriate hardware to test.
Well, your patch should just add *your* new driver. It should *not*
change unrelated things.
> - Linux code style. I really thought I had respected it, furthermore I took another (ixxat) RTDM driver as a model. Ok, I can doublecheck ...
Well, checkplatch.pl does report:
total: 45 errors, 138 warnings, 427 lines checked
For further information please have a look to
http://lxr.linux.no/#linux+v3.4.4/Documentation/CodingStyle
> - patch high-check vs plx. I do no see what you mean. If I made something wrong it is not intentional. Can you be more specific please ?
-config XENO_DRIVERS_CAN_SJA1000_PLX_PCI
+config XENO_DRIVERS_CAN_SJA1000_ADV_PCI
depends on XENO_DRIVERS_CAN_SJA1000 && PCI
- tristate "PLX90xx PCI-bridge based Cards"
+ tristate "ADVANTECH PCI 168x Card"
I mean "high-check" in the sense of "replacing".
> - Avantech specific ... not much but the classical vendor ID, and also, PCI banks mapping. Again, it is just like the ixxat one, all the driver intelligence is in the generic sja1000 code
It would be nice if the driver could also support other advantec and
non-advantec devices. This could be achieved by by a generic driver, I
believe.
> - patches inline ... Really ??? In the mail content ? But that makes huge mails. I can do so of course, but I do not see the point.
Yes, it makes reviewing the patches much easier. For further information
please read:
http://lxr.linux.no/#linux+v3.4.4/Documentation/SubmittingPatches
Wolfgang.
WARNING: multiple messages have this Message-ID (diff)
From: Wolfgang Grandegger <wg@grandegger.com>
To: Thierry BULTEL <thierry.bultel@wanadoo.fr>
Cc: Linux-CAN <linux-can@vger.kernel.org>, xenomai@xenomai.org
Subject: Re: [Xenomai] RTDM driver for the Advantech 1680U CANbus Adapter
Date: Tue, 03 Jul 2012 22:29:31 +0200 [thread overview]
Message-ID: <4FF3562B.7020902@grandegger.com> (raw)
In-Reply-To: <1012208988.15650.1341343674156.JavaMail.www@wwinf1m30>
Hi Thierry,
On 07/03/2012 09:27 PM, Thierry BULTEL wrote:
> Hi Wolfgang,
>
>
>
> Thanks for your feedback.
>
>
>
> The issue is that I did not realize that the patch would not have been accepted as such, so I will have to invest more time on than expected ...
>
> so I will not be able to do so immediately.
No problem.
> Several comments, to your comments
>
>
> - I agree for the multiple devices, theoretically supported by the original Linux driver. I intentionnally removed them, since I do not have the appropriate hardware to test.
Well, your patch should just add *your* new driver. It should *not*
change unrelated things.
> - Linux code style. I really thought I had respected it, furthermore I took another (ixxat) RTDM driver as a model. Ok, I can doublecheck ...
Well, checkplatch.pl does report:
total: 45 errors, 138 warnings, 427 lines checked
For further information please have a look to
http://lxr.linux.no/#linux+v3.4.4/Documentation/CodingStyle
> - patch high-check vs plx. I do no see what you mean. If I made something wrong it is not intentional. Can you be more specific please ?
-config XENO_DRIVERS_CAN_SJA1000_PLX_PCI
+config XENO_DRIVERS_CAN_SJA1000_ADV_PCI
depends on XENO_DRIVERS_CAN_SJA1000 && PCI
- tristate "PLX90xx PCI-bridge based Cards"
+ tristate "ADVANTECH PCI 168x Card"
I mean "high-check" in the sense of "replacing".
> - Avantech specific ... not much but the classical vendor ID, and also, PCI banks mapping. Again, it is just like the ixxat one, all the driver intelligence is in the generic sja1000 code
It would be nice if the driver could also support other advantec and
non-advantec devices. This could be achieved by by a generic driver, I
believe.
> - patches inline ... Really ??? In the mail content ? But that makes huge mails. I can do so of course, but I do not see the point.
Yes, it makes reviewing the patches much easier. For further information
please read:
http://lxr.linux.no/#linux+v3.4.4/Documentation/SubmittingPatches
Wolfgang.
next prev parent reply other threads:[~2012-07-03 20:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4FED4948.8080906@basystemes.fr>
2012-06-29 6:29 ` [Xenomai] RTDM driver for the Advantech 1680U CANbus Adapter Thierry Bultel
2012-06-29 11:09 ` Evgeny Sinelnikov
2012-06-29 18:39 ` Wolfgang Grandegger
2012-06-29 18:39 ` Wolfgang Grandegger
2012-07-03 19:27 ` Thierry BULTEL
2012-07-03 19:42 ` Gilles Chanteperdrix
2012-07-03 20:29 ` Wolfgang Grandegger [this message]
2012-07-03 20:29 ` Wolfgang Grandegger
2012-07-04 6:24 ` dietmar.schindler
2012-07-04 6:54 ` Wolfgang Grandegger
2012-07-16 15:07 ` Thierry Bultel
2012-07-16 15:07 ` Thierry Bultel
2012-07-17 8:39 ` Wolfgang Grandegger
2012-07-17 8:39 ` Wolfgang Grandegger
2012-07-18 10:00 ` Thierry Bultel
2012-07-18 10:00 ` Thierry Bultel
2012-07-18 11:19 ` Wolfgang Grandegger
2012-07-18 11:29 ` Wolfgang Grandegger
2012-07-18 11:31 ` Wolfgang Grandegger
2012-07-18 12:39 ` Thierry Bultel
2012-07-18 13:28 ` Wolfgang Grandegger
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=4FF3562B.7020902@grandegger.com \
--to=wg@grandegger.com \
--cc=linux-can@vger.kernel.org \
--cc=thierry.bultel@wanadoo.fr \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.