Skip to contentSkip to conversation

RT-Socket-CAN versioning

Xenomai-core Wolfgang Grandegger 3 participants 6 messages Feb 19, 2007 – Feb 25, 2007

lore
Share & tools
lore
#0 lore raw

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"? Furthermore, there is also "profile_version" (which does not show up n the Doxygen docu for some strange reason). The latter one seems suitable to reflect CAN API changes.

Wolfgang.

#1 lore raw
Quoted 6 lines · Wolfgang Grandegger

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"?

Actually, I was thinking about this too yesterday. The idea of the separate versioning for RTDM drivers is to signal the users if something in the driver really changed. It's fairly obvious what to do with it for out-of-tree drivers, but for in-tree it might be worth considering the policy.

The current model, maintained more or less properly for the existing drivers, is to increment independently of Xenomai according to major or minor changes. One may ease this burden for the driver developer by simply filling in Xenomai's version here. That would just let the revisions increase on every Xenomai release, even if the driver remained untouched. The tag would still have a meaning for out-of-tree drivers, but for in-tree it would be fairly meaningless.

Well, whatever is commonly preferred, it should then be applied consistently on all RTDM drivers in Xenomai. What are the opinions on this list (I will comment afterwards)?

Quoted 3 lines

Furthermore, there is also
"profile_version" (which does not show up n the Doxygen docu for some strange reason).

The automatic update from the latest SVN must be broken on www.xenomai.org, there is more stuff missing.

Quoted 1 line

The latter one seems suitable to reflect CAN API changes.

Exactly. That's why I incremented that in SVN trunk's rtcan.h. A correct profile version is definitely a must to let applications handle relevant changes.

Jan

#2 lore raw
Quoted 26 lines · Jan Kiszka
Quoted 6 lines · Wolfgang Grandegger

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"?

Actually, I was thinking about this too yesterday. The idea of the separate versioning for RTDM drivers is to signal the users if something in the driver really changed. It's fairly obvious what to do with it for out-of-tree drivers, but for in-tree it might be worth considering the policy.

The current model, maintained more or less properly for the existing drivers, is to increment independently of Xenomai according to major or minor changes. One may ease this burden for the driver developer by simply filling in Xenomai's version here. That would just let the revisions increase on every Xenomai release, even if the driver remained untouched. The tag would still have a meaning for out-of-tree drivers, but for in-tree it would be fairly meaningless.

Well, whatever is commonly preferred, it should then be applied consistently on all RTDM drivers in Xenomai. What are the opinions on this list (I will comment afterwards)?

Quoted 6 lines
Quoted 3 lines

Furthermore, there is also
"profile_version" (which does not show up n the Doxygen docu for some strange reason).

The automatic update from the latest SVN must be broken on www.xenomai.org, there is more stuff missing.

The automatic update only updates the web site from the contents of the "generated" directory. In order to update this directory, go to the "doc" subdirectory of the build tree and type "make generate-doc", then run svn commit in the "generated" directory. I will install the proper version of doxygen and regenerate the documentation.

Signature · 1 line
					    Gilles Chanteperdrix.
#3 lore raw
Quoted 31 lines · Gilles Chanteperdrix
Quoted 30 lines · Jan Kiszka
Quoted 6 lines · Wolfgang Grandegger

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"?

Actually, I was thinking about this too yesterday. The idea of the separate versioning for RTDM drivers is to signal the users if something in the driver really changed. It's fairly obvious what to do with it for out-of-tree drivers, but for in-tree it might be worth considering the policy.

The current model, maintained more or less properly for the existing drivers, is to increment independently of Xenomai according to major or minor changes. One may ease this burden for the driver developer by simply filling in Xenomai's version here. That would just let the revisions increase on every Xenomai release, even if the driver remained untouched. The tag would still have a meaning for out-of-tree drivers, but for in-tree it would be fairly meaningless.

Well, whatever is commonly preferred, it should then be applied consistently on all RTDM drivers in Xenomai. What are the opinions on this list (I will comment afterwards)?

Quoted 3 lines

Furthermore, there is also
"profile_version" (which does not show up n the Doxygen docu for some strange reason).

Quoted 9 lines
Quoted 2 lines

The automatic update from the latest SVN must be broken on www.xenomai.org, there is more stuff missing.

The automatic update only updates the web site from the contents of the "generated" directory. In order to update this directory, go to the "doc" subdirectory of the build tree and type "make generate-doc", then run svn commit in the "generated" directory. I will install the proper version of doxygen and regenerate the documentation.

Ah, thanks.

Jan

#4 lore raw
In reply to Jan Kiszka

Hi Jan,

Quoted 22 lines · Jan Kiszka
Quoted 6 lines · Wolfgang Grandegger

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"?

Actually, I was thinking about this too yesterday. The idea of the separate versioning for RTDM drivers is to signal the users if something in the driver really changed. It's fairly obvious what to do with it for out-of-tree drivers, but for in-tree it might be worth considering the policy.

The current model, maintained more or less properly for the existing drivers, is to increment independently of Xenomai according to major or minor changes. One may ease this burden for the driver developer by simply filling in Xenomai's version here. That would just let the revisions increase on every Xenomai release, even if the driver remained untouched. The tag would still have a meaning for out-of-tree drivers, but for in-tree it would be fairly meaningless.

Quoted 3 lines

Well, whatever is commonly preferred, it should then be applied consistently on all RTDM drivers in Xenomai. What are the opinions on this list (I will comment afterwards)?

OK, no other opinions so far. Then let's keep the current versioning scheme. I'm going to boost the RT-Socket-CAN version number to 0.90.0 with the next commit and to 1.0.0 for the next official release (2.4.x?).

Wolfgang.

#5 lore raw
Quoted 25 lines · Wolfgang Grandegger

Hi Jan,

Quoted 22 lines · Jan Kiszka
Quoted 6 lines · Wolfgang Grandegger

Hi Jan,

currently the RT-Socket-CAN drivers maintains it's own version or release number. As RT-Socket-CAN is part of Xenomai, I do not see the need for it (and so far I did not update it). What is the intended use of "driver_version" in "struct rtdm_device"?

Actually, I was thinking about this too yesterday. The idea of the separate versioning for RTDM drivers is to signal the users if something in the driver really changed. It's fairly obvious what to do with it for out-of-tree drivers, but for in-tree it might be worth considering the policy.

The current model, maintained more or less properly for the existing drivers, is to increment independently of Xenomai according to major or minor changes. One may ease this burden for the driver developer by simply filling in Xenomai's version here. That would just let the revisions increase on every Xenomai release, even if the driver remained untouched. The tag would still have a meaning for out-of-tree drivers, but for in-tree it would be fairly meaningless.

Quoted 5 lines
Quoted 3 lines

Well, whatever is commonly preferred, it should then be applied consistently on all RTDM drivers in Xenomai. What are the opinions on this list (I will comment afterwards)?

OK, no other opinions so far. Then let's keep the current versioning

I guess everyone's busy with more serious issues.

Quoted 2 lines

scheme. I'm going to boost the RT-Socket-CAN version number to 0.90.0 with the next commit and to 1.0.0 for the next official release (2.4.x?).

Ack. That's preferred from my side as well.

Jan