Problems in fixup_device function

John Linn John.Linn at xilinx.com
Fri Mar 7 06:40:16 EST 2008


I am loading the mac address into the data of the platform device.

-- John

-----Original Message-----
From: glikely at secretlab.ca [mailto:glikely at secretlab.ca] On Behalf Of
Grant Likely
Sent: Thursday, March 06, 2008 12:39 PM
To: John Linn
Cc: linuxppc-embedded at ozlabs.org
Subject: Re: Problems in fixup_device function

On Thu, Mar 6, 2008 at 12:21 PM, John Linn <John.Linn at xilinx.com> wrote:
>
>
>
>
> I've added some code to virtex_device_fixup and am seeing some strange
side
> affects.  I've added code to read from an iic device and populate the
mac
> address including ioremap.  The code works fine, but the side affects
are
> not fine.

Specifically, what are you trying to do?  Are you modifying the data
in the platform device?

Cheers,
g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.




More information about the Linuxppc-embedded mailing list