Re: [PATCH 02/05] resource: add resource_type() and IORESOURCE_TYPE_BITS

From: Magnus Damm
Date: Fri Jul 18 2008 - 04:25:20 EST


On Fri, Jul 18, 2008 at 4:56 PM, Ben Dooks <ben-linux@xxxxxxxxx> wrote:
> You are changing a simple test to a mask and compare, is anyone going
> to produce resources with an IORESOURCE_MEM and an IORESOURCE_IO
> together?

Actually, I'd like to replace the one-bit-per-type strategy with a
N-bit counter. But that is not very compatible with the case you are
pointing out. I'm not sure if that's a combination we really want to
support though. Both IRQ and DMA doesn't make much sense to me. =)

/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/