All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Brandt Erickson <brandt@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xnpod help
Date: Sat, 03 Jun 2006 10:26:30 +0200	[thread overview]
Message-ID: <448147B6.9080101@domain.hid> (raw)
In-Reply-To: <43446.155.98.4.39.1149280881.squirrel@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1106 bytes --]

Brandt Erickson wrote:
>> ioperm() or iopl() not applicable?
> 
> I'm not sure.  I'm using a Sensoray S626 card (PCI).  The driver I have is
> something I pieced together from psuedo-working code I got from someone
> else, so I'm not entirely sure how it works (or if it's even rt-safe).
> -Brandt
> 

Sounds like very good preconditions to create a deterministic
time-critical system. :)

I just had a short look at their linux driver [1] (if this is what you
are referring to): in fact, terrible code. That there is no locking
makes it highly suspicious. And the way kernel 2.4 compat code is
handled is very ugly as well.

But the driver core is fortunately not that large (in contrast to the
user lib - bah!), so you may try to grab the essentials from it.
Converting that API to RTDM would be straightforward (given that there
are no design faults in that code).

I wonder if there is already comedi support for this device. Alexis, do
you know this? That would likely be a better driver model, because it's
generic.

Jan


[1] http://www.sensoray.com/html/626data.htm


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  reply	other threads:[~2006-06-03  8:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-01 18:20 [Xenomai-help] xnpod help Brandt Erickson
2006-06-01 19:06 ` Jan Kiszka
2006-06-01 19:56 ` Gilles Chanteperdrix
2006-06-01 20:10   ` Jan Kiszka
2006-06-01 20:51     ` Brandt Erickson
2006-06-01 21:16       ` Jan Kiszka
2006-06-01 22:09         ` Brandt Erickson
2006-06-01 22:55           ` Jan Kiszka
2006-06-02 20:41             ` Brandt Erickson
2006-06-03  8:26               ` Jan Kiszka [this message]
2006-06-02 12:53           ` Gilles Chanteperdrix

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=448147B6.9080101@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=brandt@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.