Re: [PATCH] IRQ and resource for platform_device

Matt Porter (mporter@kernel.crashing.org)
Thu, 15 May 2003 11:32:27 -0700


On Thu, May 15, 2003 at 07:13:36PM +0100, Russell King wrote:
> On Thu, May 15, 2003 at 10:35:13AM -0700, Matt Porter wrote:
> > I think having an array of irqs and resources of max count 8 should
> > do it for now.
> >
> > No matter what we choose, the hardware designers will screw it up
> > eventually.
>
> Hmm, how would people feel if I suggested just:
>
> int num_resources;
> struct resource *resources;
>
> We have an IORESOURCE_IRQ, which can be used to indicate IRQ
> resources.

I like that approach...simple and flexible.

-Matt
-
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/