All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] RTDM - Dynamic linking of device
Date: Tue, 18 Dec 2012 17:29:22 +0100	[thread overview]
Message-ID: <50D099E2.3080503@xenomai.org> (raw)
In-Reply-To: <CAPpP=rPhXs54eQMX_2L2an-t86LBc0ChTbkbTOTbUzTbDpunCg@mail.gmail.com>

On 12/18/2012 03:38 PM, alex alex wrote:
> Thanks for your answer, I have corrected the example program.
>
> What I would like to do is add x devices after that the module be loaded
> and without naming these devices statically in the module, so am I forced
> to call x times rtdm_dev_register with x declarations of the rtdm_device
> structure in test.c?
> If there is an other way, please tell me what it is.

What about creating a first static device with an ioctl allowing to 
create other devices?

-- 
					    Gilles.


  parent reply	other threads:[~2012-12-18 16:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-13  9:21 [Xenomai] RTDM - Dynamic linking of device alex alex
2012-12-15 11:57 ` Gilles Chanteperdrix
     [not found]   ` <CAPpP=rPn8k2LTwrYQ_XkKE4vaiazfREnfCJEE5nbY0iD7Apofw@mail.gmail.com>
2012-12-16  2:43     ` Gilles Chanteperdrix
     [not found]       ` <CAPpP=rMyDyfzLr=85+=KF-kMn1mYkGmd=ykRj71d40+35BOzdg@mail.gmail.com>
     [not found]         ` <50CF00C4.7030701@xenomai.org>
     [not found]           ` <CAPpP=rPhXs54eQMX_2L2an-t86LBc0ChTbkbTOTbUzTbDpunCg@mail.gmail.com>
2012-12-18 16:29             ` Gilles Chanteperdrix [this message]
2012-12-19  9:39               ` alex alex
2012-12-19 10:07                 ` 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=50D099E2.3080503@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --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.