All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Roberto Bielli <roberto.bielli@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Using xenomai with standard ethernet driver
Date: Fri, 23 Mar 2012 10:06:58 +0100	[thread overview]
Message-ID: <4F6C3D32.70801@domain.hid> (raw)
In-Reply-To: <4F6B554A.4080008@domain.hid>

On 2012-03-22 17:37, Roberto Bielli wrote:
> I explain better the problem.
> 
> I want to use ethernet driver raw without using all the abstract layer 
> (tcp, socket etc....)
> and my xenomai application must link to the raw driver without enter in 
> secondary mode.
> 
> Have i change the driver interface with xenomai calls (rtdm_......) or 
> is there another chance ?

Did you check if RTnet already has support for your NIC? Then you are
fine with a stack of rtnet.ko, rtpacket.ko, and <your-nic>.ko.

If not, there are two options
 - add an RTnet driver for you hardware
 - implement some home-brewed stack

The second option may only look different on first sight. But,
specifically if your application is not kernel-hosted but a proper
userspace app, RTnet provides quite a few useful building blocks for
your scenario.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


  reply	other threads:[~2012-03-23  9:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-21 16:48 [Xenomai-core] Using xenomai with standard ethernet driver Roberto Bielli
2012-03-22 15:30 ` Jan Kiszka
2012-03-22 16:37   ` Roberto Bielli
2012-03-23  9:06     ` Jan Kiszka [this message]
2012-03-23 11:18       ` Roberto Bielli
2012-03-23 12:14         ` Jan Kiszka
2012-03-23 13:46           ` Roberto Bielli

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=4F6C3D32.70801@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=roberto.bielli@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.