Messages in this thread | | | Date | Tue, 10 Jun 2008 22:50:46 +0900 | From | "Magnus Damm" <> | Subject | Re: [PATCH] uio_pdrv: Unique IRQ Mode |
| |
On Tue, Jun 10, 2008 at 4:10 PM, Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> wrote: > I think you can implement the handler and irqcontrol functions static > inline. Then the need to statically compile uio goes away. And if all > uio_pdrv devices are registered in the same .c file you don't even have > a (binary) size penalty.
Good idea, that's nice and clean.
>> Let me know what you want and I'll respin the patch. Thanks! > ... I started describing in detail my suggestion, but actually it's > easier to do the patch myself. So here it comes. Note it's not even > compile tested, but you should be able to get my intentions.
Excellent! I wrote some code to export the VEU in sh7722 on top of your patch and things work just fine. Slightly more structure members to fill in with this approach, but that's fine. This less automatic approach hopefully causes less confusion. =)
> From: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com> > Date: Tue, 10 Jun 2008 09:06:24 +0200 > Subject: [PATCH] UIO: wip > > Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Acked-by: Magnus Damm <damm@igel.co.jp>
Thanks for your help!
/ magnus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |