Messages in this thread | | | Date | Wed, 12 Nov 2008 08:10:09 -0800 | From | Greg KH <> | Subject | Re: [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
| |