* Porting to /arch/powerpc
@ 2007-10-25 21:59 Rune Torgersen
2007-10-25 22:08 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: Rune Torgersen @ 2007-10-25 21:59 UTC (permalink / raw)
To: linuxppc-embedded
Is there a good platform/documents to look at for doing a board port
from arch/ppc to arch/powerpc?
I'm porting a 8266/8280 based board with PCI and 2 FCC ethernets
connected phy-less to a switch.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Porting to /arch/powerpc
2007-10-25 21:59 Porting to /arch/powerpc Rune Torgersen
@ 2007-10-25 22:08 ` Scott Wood
2007-10-25 22:26 ` Joakim Tjernlund
0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2007-10-25 22:08 UTC (permalink / raw)
To: Rune Torgersen; +Cc: linuxppc-embedded
Rune Torgersen wrote:
> Is there a good platform/documents to look at for doing a board port
> from arch/ppc to arch/powerpc?
> I'm porting a 8266/8280 based board with PCI and 2 FCC ethernets
> connected phy-less to a switch.
Look at head-of-tree for 82xx stuff (lots of changes since 2.6.23)...
any of the 82xx boards in arch/powerpc should be good to look at.
The fs_enet driver doesn't currently support phy-less directly, but you
may be able to do something with the fixed phy driver.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Porting to /arch/powerpc
2007-10-25 22:08 ` Scott Wood
@ 2007-10-25 22:26 ` Joakim Tjernlund
2007-10-26 18:10 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: Joakim Tjernlund @ 2007-10-25 22:26 UTC (permalink / raw)
To: 'Scott Wood', 'Rune Torgersen'; +Cc: linuxppc-embedded
> -----Original Message-----
> From:
> linuxppc-embedded-bounces+joakim.tjernlund=lumentis.se@ozlabs.
> org
> [mailto:linuxppc-embedded-bounces+joakim.tjernlund=lumentis.se
> @ozlabs.org] On Behalf Of Scott Wood
> Sent: den 26 oktober 2007 00:08
> To: Rune Torgersen
> Cc: linuxppc-embedded@ozlabs.org
> Subject: Re: Porting to /arch/powerpc
>
> Rune Torgersen wrote:
> > Is there a good platform/documents to look at for doing a board port
> > from arch/ppc to arch/powerpc?
> > I'm porting a 8266/8280 based board with PCI and 2 FCC ethernets
> > connected phy-less to a switch.
>
> Look at head-of-tree for 82xx stuff (lots of changes since 2.6.23)...
> any of the 82xx boards in arch/powerpc should be good to look at.
>
> The fs_enet driver doesn't currently support phy-less
> directly, but you
> may be able to do something with the fixed phy driver.
How is PHY less support supposed to be impl.? I would like
to do the same for ucc_geth. I once sent a patch that made
the PHY optional, but it never made into the driver.
Jocke
>
> -Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Porting to /arch/powerpc
2007-10-25 22:26 ` Joakim Tjernlund
@ 2007-10-26 18:10 ` Scott Wood
2007-10-26 19:03 ` Joakim Tjernlund
0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2007-10-26 18:10 UTC (permalink / raw)
To: Joakim Tjernlund; +Cc: linuxppc-embedded
Joakim Tjernlund wrote:
>> The fs_enet driver doesn't currently support phy-less
>> directly, but you
>> may be able to do something with the fixed phy driver.
>
> How is PHY less support supposed to be impl.? I would like
> to do the same for ucc_geth. I once sent a patch that made
> the PHY optional, but it never made into the driver.
Basically, the driver needs to assume the link is up if there's no
phy-handle in the device tree, rather than error out.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Porting to /arch/powerpc
2007-10-26 18:10 ` Scott Wood
@ 2007-10-26 19:03 ` Joakim Tjernlund
0 siblings, 0 replies; 5+ messages in thread
From: Joakim Tjernlund @ 2007-10-26 19:03 UTC (permalink / raw)
To: 'Scott Wood', Li Yang; +Cc: linuxppc-embedded
> -----Original Message-----
> From: Scott Wood [mailto:scottwood@freescale.com]
> Sent: den 26 oktober 2007 20:10
> To: Joakim Tjernlund
> Cc: 'Rune Torgersen'; linuxppc-embedded@ozlabs.org
> Subject: Re: Porting to /arch/powerpc
>
> Joakim Tjernlund wrote:
> >> The fs_enet driver doesn't currently support phy-less
> >> directly, but you
> >> may be able to do something with the fixed phy driver.
> >
> > How is PHY less support supposed to be impl.? I would like
> > to do the same for ucc_geth. I once sent a patch that made
> > the PHY optional, but it never made into the driver.
>
> Basically, the driver needs to assume the link is up if there's no
> phy-handle in the device tree, rather than error out.
>
> -Scott
Right, that was what I did, but I think Leo didn't want it at the time.
Leo?
Jocke
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-26 19:03 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 21:59 Porting to /arch/powerpc Rune Torgersen
2007-10-25 22:08 ` Scott Wood
2007-10-25 22:26 ` Joakim Tjernlund
2007-10-26 18:10 ` Scott Wood
2007-10-26 19:03 ` Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).