From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Dooks Date: Fri, 18 Jul 2008 08:33:17 +0000 Subject: Re: [PATCH 02/05] resource: add resource_type() and Message-Id: <20080718083317.GN24620@fluff.org.uk> List-Id: References: <20080718074002.32713.73442.sendpatchset@rx1.opensource.se> <20080718074018.32713.11976.sendpatchset@rx1.opensource.se> <20080718075601.GL24620@fluff.org.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Magnus Damm Cc: Ben Dooks , linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, gregkh@suse.de, lethal@linux-sh.org, i2c@lm-sensors.org, akpm@linux-foundation.org On Fri, Jul 18, 2008 at 05:24:59PM +0900, Magnus Damm wrote: > On Fri, Jul 18, 2008 at 4:56 PM, Ben Dooks 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. =) I'm not saying it is a bad idea, I just do not know if anyone is currently relying on this to work... -- Ben (ben@fluff.org, http://www.fluff.org/) 'a smiley only costs 4 bytes'