All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexis Berlemont <berlemont.hauw@domain.hid>
To: Daniele Nicolodi <daniele@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Analogy a4l_ioctl_bufinfo() bug?
Date: Fri, 19 Mar 2010 01:08:52 +0100	[thread overview]
Message-ID: <4BA2C094.6060109@domain.hid> (raw)
In-Reply-To: <4BA0E8D9.4060901@domain.hid>

Daniele Nicolodi wrote:
> Daniele Nicolodi wrote:
>> Hello. As reported in the xenomai-help mailing list I'm investigating
>> why a4l_mmap() is not supported for the ni pcimio driver. Hacking on the
>> driver I discovered that, apparently, the only problem in supporting
>> mmap of the device buffer is in the a4l_ioctl_bufinfo() function.
> 
> The atached patch solves the problem. My solution is to avoid to mess
> with the subdevice buffer if a transmission is not occouring. This makes
> ni pcimio driver work as expected. The second patch enables mmapping for
> the ni pcimio driver.
Merged. Thank you.
> 
> Cheers,
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@domain.hid
> https://mail.gna.org/listinfo/xenomai-core

Alexis.


      reply	other threads:[~2010-03-19  0:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 16:26 [Xenomai-core] Analogy a4l_ioctl_bufinfo() bug? Daniele Nicolodi
2010-03-17 14:36 ` Daniele Nicolodi
2010-03-19  0:08   ` Alexis Berlemont [this message]

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=4BA2C094.6060109@domain.hid \
    --to=berlemont.hauw@domain.hid \
    --cc=daniele@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.