Skip to contentSkip to conversation

r3998 - in /trunk: ./ doc/doxygen/ doc/txt/ include/ include/asm-generic/ include/comedi/ include/compat/linux/ ksrc/drivers/ ksrc/drivers/comedi/ ksrc/skins/ ksrc/skins/comedi/ src/skins/ src/skins/comedi/ src/utils/ src/utils/comedi/

Xenomai-core Jan Kiszka 2 participants 2 messages Jun 28, 2008 1 message not in the archive

lore
Share & tools
lore

Jan Kiszka

author
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Philippe Gerum

Author: rpm
Date: Sat Jun 28 18:23:51 2008
New Revision: 3998

URL: http://svn.gna.org/viewcvs/xenomai?rev=3998&view=rev
Log:
Merge COMEDI over RTDM framework

Added:

...

Quoted 16 lines

trunk/ksrc/skins/comedi/
trunk/ksrc/skins/comedi/Config.h
trunk/ksrc/skins/comedi/Config.in
trunk/ksrc/skins/comedi/Kconfig
trunk/ksrc/skins/comedi/Makefile
trunk/ksrc/skins/comedi/buffer.c
trunk/ksrc/skins/comedi/command.c
trunk/ksrc/skins/comedi/device.c
trunk/ksrc/skins/comedi/driver.c
trunk/ksrc/skins/comedi/driver_facilities.c
trunk/ksrc/skins/comedi/instruction.c
trunk/ksrc/skins/comedi/interface.c
trunk/ksrc/skins/comedi/os_facili. ties.c
trunk/ksrc/skins/comedi/subdevice.c
trunk/ksrc/skins/comedi/transfer.c
trunk/src/skins/comedi/

Quoted 8 lines

trunk/src/skins/comedi/Makefile.am
trunk/src/skins/comedi/Makefile.in
trunk/src/skins/comedi/async.c
trunk/src/skins/comedi/descriptor.c
trunk/src/skins/comedi/info.c
trunk/src/skins/comedi/range.c
trunk/src/skins/comedi/sync.c
trunk/src/skins/comedi/sys.c

Why did these parts went in as a skin? As far as I can see, comedi4rtdm is a pure driver stack, _using_ the RTDM skin. I didn't find any Xenomai nucleus reference on first glance, so the whole thing should, in theory, be directly portable over Native-RTDM - another sign that it isn't a skin. IMHO, it should rather populate only ksrc/drivers and, e.g., src/drvlibs/comedi.

Jan

#2 lore raw
Quoted 36 lines · Jan Kiszka
Quoted 9 lines · Philippe Gerum

Author: rpm
Date: Sat Jun 28 18:23:51 2008
New Revision: 3998

URL: http://svn.gna.org/viewcvs/xenomai?rev=3998&view=rev
Log:
Merge COMEDI over RTDM framework

Added:

...

Quoted 16 lines

trunk/ksrc/skins/comedi/
trunk/ksrc/skins/comedi/Config.h
trunk/ksrc/skins/comedi/Config.in
trunk/ksrc/skins/comedi/Kconfig
trunk/ksrc/skins/comedi/Makefile
trunk/ksrc/skins/comedi/buffer.c
trunk/ksrc/skins/comedi/command.c
trunk/ksrc/skins/comedi/device.c
trunk/ksrc/skins/comedi/driver.c
trunk/ksrc/skins/comedi/driver_facilities.c
trunk/ksrc/skins/comedi/instruction.c
trunk/ksrc/skins/comedi/interface.c
trunk/ksrc/skins/comedi/os_facili. ties.c
trunk/ksrc/skins/comedi/subdevice.c
trunk/ksrc/skins/comedi/transfer.c
trunk/src/skins/comedi/

Quoted 8 lines

trunk/src/skins/comedi/Makefile.am
trunk/src/skins/comedi/Makefile.in
trunk/src/skins/comedi/async.c
trunk/src/skins/comedi/descriptor.c
trunk/src/skins/comedi/info.c
trunk/src/skins/comedi/range.c
trunk/src/skins/comedi/sync.c
trunk/src/skins/comedi/sys.c

Quoted 3 lines

Why did these parts went in as a skin? As far as I can see, comedi4rtdm is a pure driver stack, _using_ the RTDM skin. I didn't find any Xenomai nucleus reference on first glance,

Actually, I never meant skins to be defined by their relation to the nucleus interface, but only because they would provide a particular interface to the applications; the way they implement their services internally has no incidence here.

Btw, the assertion that a skin should be based on the nucleus interface will become false in 3.x, where some of the 2.x emulators will move to userland, on top of an emulation layer that will be interface-compatible between SOLO and the co-kernel world (no, this will _not_ be the UVM resurrected).

so the whole thing should, in theory,

Quoted 2 lines

be directly portable over Native-RTDM - another sign that it isn't a skin.

That is in fact the reason why ksrc/skins/comedi should indeed move to ksrc/drivers, and specific data acquisition drivers should be subdirs of that toplevel, the same way the can stack is implemented, i.e. as a driver stack. So yes, my mistake (Alex was surprised too when I decided to make this a skin on its own). I'll make this a driver stack instead.

IMHO, it should rather populate only ksrc/drivers and, e.g.,

Quoted 2 lines

src/drvlibs/comedi.

Signature · 1 line
Philippe.