From: Wolfgang Grandegger <wg@domain.hid>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: [Xenomai-core] Re: [Xenomai-help] [ANNOUNCE] RTDM driver for CAN devices
Date: Mon, 07 Aug 2006 15:23:47 +0200 [thread overview]
Message-ID: <44D73EE3.4010809@domain.hid> (raw)
In-Reply-To: <44D4FF53.8000904@domain.hid>
Jan Kiszka wrote:
> Wolfgang Grandegger wrote:
>>>>> - Well known issue: the RTCAN name. This should definitely get resolved
>>>>> before we merge. Any feedback already?
>>>> I contacted the author. If I will not get an answer soon, I tend
>>>> changing the global name to RT-Socket-CAN (rtsocketcan).
>>> I would really hate to have a drivers/rtsocketcan or a
>>> rtdm/rtsocketcan.h. The short name is so much nicer.
>> He did not say, that we cannot use the name RTCAN but he prefers that we
>> use a different name to avoid confusion. Therefore I suggest to use the
>> offical name "RT-Socket-CAN" for the project, but leave almost all
>> internal rtcan prefixes as they are apart from:
>>
>> drivers/rtsocketcan
>> rtdm/rtsocketcan.h
>>
>> Note that the API does use the Linux naming in most cases (with the
>> prefix can).
>>
>> Another possibility would be to use rtscan as short form for rtsocketcan
>> as prefix.
>>
>> What do you think? Well, it's just a name.
>
> Never underestimate naming. Ok, I have this proposal now:
>
> o drivers/can/ - That's consistent with the existing subdir naming
> anyway.
I was also thinking about that.
> o rtdm/rtcan.h - The "rtdm/" prefix clearly defines the context: It's
> THE standard real-time CAN profile for RTDM.
>
> o All references to "RTCAN" in comments, READMEs, headers, etc. must be
> changed to RT-Socket-CAN. So it should be clear that this has nothing
> to do with the existing "rtcan" project.
>
> o Variable, type, and function names remain as they are.
OK, thats fine for me. The important thing is, that the official project
name is different from RTCAN.
> Jan
>
>
> PS: Another point for the long-term to-do list :-> : The nested locking
> and the global scope of certain locks. It's safe, it's harmless for
> current primary target platforms (UP), but it's not really beautiful
> when considering SMP setups. A bit tricky, for sure.
Yes, it's also not nice, that it is in the HW specific driver. I did not
touch it because I have no SMP system for testing.
Wolfgang.
next prev parent reply other threads:[~2006-08-07 13:23 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-01 15:09 [Xenomai-core] [ANNOUNCE] RTDM driver for CAN devices Wolfgang Grandegger
2006-08-01 17:13 ` [Xenomai-core] " Bernhard Walle
2006-08-01 17:39 ` Wolfgang Grandegger
2006-08-04 15:11 ` [Xenomai-core] Re: [Xenomai-help] " Jan Kiszka
2006-08-05 13:45 ` Wolfgang Grandegger
2006-08-05 15:45 ` Philippe Gerum
2006-08-05 16:44 ` Jan Kiszka
2006-08-05 17:25 ` Philippe Gerum
2006-08-05 18:29 ` Wolfgang Grandegger
2006-08-05 20:28 ` Jan Kiszka
2006-08-06 18:32 ` Jan Kiszka
2006-08-07 13:23 ` Wolfgang Grandegger [this message]
2006-08-07 14:17 ` Wolfgang Grandegger
2006-08-07 14:31 ` Jan Kiszka
2006-08-07 15:43 ` Philippe Gerum
2006-08-11 6:59 ` Wolfgang Grandegger
2006-08-11 7:08 ` Jan Kiszka
2006-08-11 7:21 ` Wolfgang Grandegger
2006-08-07 14:32 ` Philippe Gerum
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=44D73EE3.4010809@domain.hid \
--to=wg@domain.hid \
--cc=jan.kiszka@domain.hid \
--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.