From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH 2/3] net: add phylib implementation
Date: Thu, 27 Aug 2009 14:16:21 -0500 [thread overview]
Message-ID: <4A96DB85.1090904@freescale.com> (raw)
In-Reply-To: <200908271513.47636.vapier@gentoo.org>
Mike Frysinger wrote:
> On Thursday 27 August 2009 11:38:07 Scott Wood wrote:
>> On Thu, Aug 27, 2009 at 01:54:47AM -0400, Mike Frysinger wrote:
>>> On Thursday 27 August 2009 01:11:32 Stefan Roese wrote:
>>>> On Thursday 27 August 2009 03:55:57 Mike Frysinger wrote:
>>>>>> +int phy_init(void)
>>>>>> +{
>>>>>> + /* Initialize the list */
>>>>>> + INIT_LIST_HEAD(&phy_drvs.list);
>>>>> does it really need to be dynamic ? arent there static initializers
>>>>> so this can be done in .data ?
>>>> Using static initializers fails on PPC because of the somewhat broken
>>>> relocation. So this dynamic implementation is the preferred version, at
>>>> least for PPC people.
>>> so the ppc port cant use the .data section at all ? that doesnt sound
>>> correct to me.
>> We can't have initialized pointers in .data without manual runtime fixup.
>> Only .text has relocation information.
>
> we're talking about a list structure and its initialized state, it isnt
> pointing to anything.
It's pointing to itself.
-Scott
next prev parent reply other threads:[~2009-08-27 19:16 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 7:02 [U-Boot] Phy lib again Michal Simek
2009-08-25 7:08 ` Stefan Roese
2009-08-25 7:14 ` Michal Simek
2009-08-25 16:48 ` Ben Warren
2009-08-26 7:27 ` Michal Simek
2009-08-25 9:23 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 1/3] net: rework the mii support Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 3/3] phylib: add generic phy driver Jean-Christophe PLAGNIOL-VILLARD
2009-08-27 1:58 ` Mike Frysinger
2009-08-27 1:55 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Mike Frysinger
2009-08-27 5:11 ` Stefan Roese
2009-08-27 5:54 ` Mike Frysinger
2009-08-27 15:38 ` Scott Wood
2009-08-27 15:56 ` Peter Tyser
2009-08-27 17:49 ` [U-Boot] PowerPC -mrelocatable Scott Wood
2009-08-27 19:36 ` Joakim Tjernlund
2009-09-08 16:16 ` Peter Tyser
2009-09-08 17:29 ` Mike Frysinger
2009-09-08 18:20 ` Wolfgang Denk
2009-09-09 8:04 ` Joakim Tjernlund
2009-09-11 22:52 ` Peter Tyser
2009-08-27 19:13 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Mike Frysinger
2009-08-27 19:16 ` Scott Wood [this message]
2009-08-27 1:16 ` [U-Boot] [RFC PATCH 1/3] net: rework the mii support Mike Frysinger
2009-08-27 15:44 ` Ben Warren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A96DB85.1090904@freescale.com \
--to=scottwood@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox