From: Jan Kiszka <jan.kiszka@domain.hid>
To: belatronix@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] implementing a new rtdm driver
Date: Wed, 15 Oct 2008 16:51:08 +0200 [thread overview]
Message-ID: <48F6035C.1040103@domain.hid> (raw)
In-Reply-To: <48F5E050.4090106@domain.hid>
Axel Beierlein wrote:
> Hello,
>
> i will implement my Serial ppc-PSC driver into the rtdm and
> there are some hardwarespecific things that differ from the
> implementation of the 16550A.
>
> Is it right that i have to add these things to the existing Serial
> Profile in rtserial.h?
Well, unless that UART comes with some very special features or someone
made a mistake when defining the serial profile, you should be able to
provide a compatible driver.
> What for is the device sub class Makro and how can i use it for a new
> profile? Perhaps #ifdef compiling?
Please discuss with us what you want to #ifdef so that we can tell you
why you shouldn't. ;)
Regarding the subclass: It might only be for informational purposes, but
it would definitely make sense when you add new services to the profile
(or leave out existing ones).
>
> Summarize:
> What is the preferred way to implement an new serial Hardware into the
> existing RTDM Serial Device Profile?
>
Unless you find significant shared code in your to-be-written driver and
the 16550A, I would say go for a separate implementation of the same API
(== RTDM profile). If you find common code, than let us discuss some
generic UART framework for RTDM.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2008-10-15 14:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-15 12:21 [Xenomai-help] implementing a new rtdm driver Axel Beierlein
2008-10-15 14:51 ` Jan Kiszka [this message]
[not found] ` <48F64626.7040304@domain.hid>
2008-10-16 13:21 ` Jan Kiszka
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=48F6035C.1040103@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=belatronix@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.