lkml.org 
[lkml]   [2012]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/5] mfd: replace IORESOURCE_IO by IORESOURCE_MEM
From
Date
On Mon, 2012-08-06 at 22:31 +0100, Russell King wrote:
>
> So, if we made this a numeric index, then we have 32 resource types
> to deal with, and no need to bugger around with re-using an existing
> type for something else.
>
> This makes sense, MEM, IRQ and DMA are all mutually exclusive, as
> should be MEM and IO (because they can't coexist in two resource trees
> at the same time.) BUS only gets used in a hand-full of places and
> not with any other flags.
>
> So, looks like we can have 27 new resource types fairly easily.

Besides we can easily use a single IORESOURCE_OTHER for most things
really, if we prefer, make it IORESOURCE_IO | IORESOURCE_MEM and have
platform device avoid that combo...

cheers,
Ben.




\
 
 \ /
  Last update: 2012-08-07 11:02    [W:0.141 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site