linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* gianfar in SGMII mode
@ 2008-07-02 22:53 Nate Case
  2008-07-03 15:23 ` Nate Case
  0 siblings, 1 reply; 3+ messages in thread
From: Nate Case @ 2008-07-02 22:53 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

Hi Kumar,

I'm looking at gfar_configure_serdes() and I'm at a loss as to why this
is always called when the MAC is in SGMII mode.  It looks like it
assumes the use of TBI for some reason.  On my board it's just a regular
SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI
involved.

I'm guessing this is a case of the driver making incorrect assumptions
based on the existing Freescale boards.  Or am I missing something
here? 

-- 
Nate Case <ncase@xes-inc.com>

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

* Re: gianfar in SGMII mode
  2008-07-02 22:53 gianfar in SGMII mode Nate Case
@ 2008-07-03 15:23 ` Nate Case
  2008-07-03 23:14   ` Andy Fleming
  0 siblings, 1 reply; 3+ messages in thread
From: Nate Case @ 2008-07-03 15:23 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev

On Wed, 2008-07-02 at 17:53 -0500, Nate Case wrote:
> I'm looking at gfar_configure_serdes() and I'm at a loss as to why
> this
> is always called when the MAC is in SGMII mode.  It looks like it
> assumes the use of TBI for some reason.  On my board it's just a
> regular
> SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI
> involved.
> 
> I'm guessing this is a case of the driver making incorrect assumptions
> based on the existing Freescale boards.  Or am I missing something
> here? 

Answering my own question: I see now that TBI is used internally on the
chip for the SerDes interface which implements SGMII..  so maybe there's
no problem with what the driver is doing after all.

-- 
Nate Case <ncase@xes-inc.com>

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

* Re: gianfar in SGMII mode
  2008-07-03 15:23 ` Nate Case
@ 2008-07-03 23:14   ` Andy Fleming
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Fleming @ 2008-07-03 23:14 UTC (permalink / raw)
  To: Nate Case; +Cc: linuxppc-dev


On Jul 3, 2008, at 10:23, Nate Case wrote:

> On Wed, 2008-07-02 at 17:53 -0500, Nate Case wrote:
>> I'm looking at gfar_configure_serdes() and I'm at a loss as to why
>> this
>> is always called when the MAC is in SGMII mode.  It looks like it
>> assumes the use of TBI for some reason.  On my board it's just a
>> regular
>> SGMII interface to a bcm5482 PHY in SGMII mode, so there is no TBI
>> involved.
>>
>> I'm guessing this is a case of the driver making incorrect  
>> assumptions
>> based on the existing Freescale boards.  Or am I missing something
>> here?
>
> Answering my own question: I see now that TBI is used internally on  
> the
> chip for the SerDes interface which implements SGMII..  so maybe  
> there's
> no problem with what the driver is doing after all.


Yeah, it's screwy, but that's how the chip works.

Andy

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

end of thread, other threads:[~2008-07-03 23:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 22:53 gianfar in SGMII mode Nate Case
2008-07-03 15:23 ` Nate Case
2008-07-03 23:14   ` Andy Fleming

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).