Problems in fixup_device function
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.
Anyone have any experience here?
I see the loops_per_jiffy getting hosed like there is some bad code, but I can't track it down. It moves around badly, like it can come and go with printk additions or deletions.
I don't know enough about the stack and Linux to know if there could be a problem there.
Thanks,
John
Quoted 8 lines · John Linn
I've added some code to
virtex_device_fixupand 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.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
I am loading the mac address into the data of the platform device.
-- John
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Grant Likely
Sent: Thursday, March 06, 2008 12:39 PM
To: John Linn
Cc: [email protected]
Subject: Re: Problems in fixup_device function
Quoted 5 lines · John Linn
I've added some code to
virtex_device_fixupand am seeing some strange
side
Quoted 1 line
affects. I've added code to read from an iic device and populate the
mac
Quoted 1 line
address including ioremap. The code works fine, but the side affects
are
Quoted 1 line
not fine.
Specifically, what are you trying to do? Are you modifying the data in the platform device?
Cheers,
g.
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.