[lkml]   [2003]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] IRQ and resource for platform_device
On Thu, May 15, 2003 at 10:35:13AM -0700, Matt Porter wrote:
> On Thu, May 15, 2003 at 05:30:52PM +0100, Russell King wrote:
> > Is there a sane limit on the number of interrupts and resources for one
> > device?
> As of today, I know of a device that has 5 interrupts and another
> with 2 interrupts. I believe two resources is the most I've seen
> so far on a "dumb" on-chip device.
> 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

Russell King ( The developer of ARM Linux

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:35    [W:0.036 / U:23.900 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site