lkml.org 
[lkml]   [2005]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: overlapping resources for platform devices?
On Thu, Nov 17, 2005 at 09:36:38AM -0600, Kumar Gala wrote:
>
> On Nov 16, 2005, at 12:41 AM, Greg KH wrote:
>
> >On Tue, Nov 15, 2005 at 05:31:57PM -0600, Kumar Gala wrote:
> >>Guys,
> >>
> >>I was wondering if there was any issue in changing
> >>platform_device_add to
> >>use insert_resource instead of request_resource. The reason for this
> >>change is to handle several cases where we have device registers that
> >>overlap that two different drivers are handling.
> >>
> >>The biggest case of this is with ethernet on a number of PowerPC
> >>based
> >>systems where a subset of the ethernet controllers registers are
> >>used for
> >>MDIO/PHY bus control. We currently hack around the limitation by
> >>having
> >>the MDIO/PHY bus not actually register an memory resource region.
> >>
> >>If the following looks good I'll send a more formal patch.
> >
> >Looks good to me, but Russell knows this code much better than I.
> >
> >thanks,
> >
> >greg k-h
>
> Russell, any issues?

Haven't managed to look at this yet - busy catching up after illness.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/

\
 
 \ /
  Last update: 2005-11-17 16:51    [W:0.107 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site