lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] uio: add ioctl callback
On Wed, Nov 12, 2008 at 04:59:56PM +0100, Neil Armstrong wrote:
> Hi Hans,
>
> We need an ioctl callback because we need to query some values only
> available when the irq handler is running.
> For example, we have 3 types of reasons why the irq is triggered and
> these bits are no more available when the irq is cleared.
>
> The cleanest way to have this very specific information is to have a
> dirty old ioctl returning this data.

Do you also have a patch for your UIO driver that implements this
functionality?

I really don't think we want to add an ioctl callback, perhaps you could
just use a sysfs file for this?

thanks,

greg k-h


\
 
 \ /
  Last update: 2008-11-12 17:21    [W:0.032 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site