Problems in fixup_device function
From: John Linn <hidden>
Date: 2008-03-06 19:22:51
3 messages, 2 authors, 2008-03-06 · open the first message on its own page
From: John Linn <hidden>
Date: 2008-03-06 19:22:51
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
From: Grant Likely <hidden>
Date: 2008-03-06 19:38:55
On Thu, Mar 6, 2008 at 12:21 PM, John Linn [off-list ref] 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.
From: John Linn <hidden>
Date: 2008-03-06 19:43:35
I am loading the mac address into the data of the platform device. -- John -----Original Message----- From: <redacted> [mailto:<redacted>] On Behalf Of Grant Likely Sent: Thursday, March 06, 2008 12:39 PM To: John Linn Cc: <redacted> Subject: Re: Problems in fixup_device function On Thu, Mar 6, 2008 at 12:21 PM, John Linn [off-list ref] 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. --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.