public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* RE: Which PHY connection to use on MPC8541...
@ 2005-10-11 10:57 Stefan Nickl
  2005-10-11 18:05 ` Andy Fleming
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Nickl @ 2005-10-11 10:57 UTC (permalink / raw)
  To: Gerhard Jaeger; +Cc: Stefan Nickl, linuxppc-embedded

Hi,

about a year ago we resorted to using port pin MDIO in this situation
for the FCCs because the fcc_enet driver and the gianfar driver live
in separate worlds, so to speak.

But in the meantime, Andy Fleming was very active regarding the PHY
abstraction layer. I still haven't seen patches that migrate fcc_enet
to using this layer, but the gianfar driver seems to use this code now.

So I'd say quick solution: use TSEC1 MDIO for TSECs and cpm port pins
for FCC, clean solution: change fcc_enet to use the PHY abstraction
layer.

--=20
Stefan Nickl
Kontron Modular Computers


> -----Original Message-----
> From: linuxppc-embedded-bounces@ozlabs•org=20
> [mailto:linuxppc-embedded-bounces@ozlabs•org] On Behalf Of=20
> Gerhard Jaeger
> Sent: Tuesday, October 11, 2005 12:14 PM
> To: linuxppc-embedded@ozlabs•org
> Subject: Which PHY connection to use on MPC8541...
>=20
> Hi list,
>=20
> we're currently designing a custon MPC8541 based board having=20
> three ethernet connections.
> For some reasons, we'd like to use the FCC1 and 2 + TSEC1.=20
> From what I see from the docs, it should be no problem to=20
> connect i.e. a quad phy (for FCC1/2) and a gigabit phy (for=20
> TSEC1) to the EC_MDIO of the TSEC as long as they have=20
> different addresses.=20
> I don't want to use the GPIO stuff for MDIO.
>=20
> The question is, what does this mean to the drivers? For the=20
> gianfar driver this should be okay and from what I see, the=20
> upcoming fs_enet driver supports also a phy connected either=20
> to the GPIOs (bitbanging) or the TSEC MDIO. Is this right, or=20
> am I missing something essential?=20
> Would it be better to use the GPIO-MDIO for the FCC phy and=20
> the TSEC-MDIO for the TSEC phy?
>=20
> TIA
> Gerhard
>=20
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs•org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>=20

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Which PHY connection to use on MPC8541...
@ 2005-10-11 10:13 Gerhard Jaeger
  0 siblings, 0 replies; 4+ messages in thread
From: Gerhard Jaeger @ 2005-10-11 10:13 UTC (permalink / raw)
  To: linuxppc-embedded

Hi list,

we're currently designing a custon MPC8541 based board having three ethernet connections.
For some reasons, we'd like to use the FCC1 and 2 + TSEC1. From what I see from the
docs, it should be no problem to connect i.e. a quad phy (for FCC1/2) and a gigabit phy
(for TSEC1) to the EC_MDIO of the TSEC as long as they have different addresses. 
I don't want to use the GPIO stuff for MDIO.

The question is, what does this mean to the drivers? For the gianfar driver this should
be okay and from what I see, the upcoming fs_enet driver supports also a phy 
connected either to the GPIOs (bitbanging) or the TSEC MDIO. Is this right, or am I
missing something essential? 
Would it be better to use the GPIO-MDIO for the FCC phy and the TSEC-MDIO 
for the TSEC phy?

TIA
Gerhard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-12  6:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 10:57 Which PHY connection to use on MPC8541 Stefan Nickl
2005-10-11 18:05 ` Andy Fleming
2005-10-12  6:43   ` Gerhard Jaeger
  -- strict thread matches above, loose matches on Subject: below --
2005-10-11 10:13 Gerhard Jaeger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox