public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Full or half duplex in MPC8xx QUICC ethernet driver if_quicc.c ?
@ 2003-09-18  7:07 Tord Andersson
  0 siblings, 0 replies; only message in thread
From: Tord Andersson @ 2003-09-18  7:07 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I have found something which seems a little bit odd in the MPC8xx QUICC
ethernet driver (if_quicc.c).

The driver is presumably expected to work in full duplex mode:
        // now just assume the link is up, full duplex, unknown speed.
        
        p->operational = 3;            // LINK UP
        p->duplex = 1;
        p->speed = 0;

but the PSMR register does not seem to have its FDE (Full Duplex Enable)
bit set:
    // Protocol specifics (as if GSML wasn't enough)
    scc->scc_psmr = QUICC_PMSR_ENET_CRC | QUICC_PMSR_SEARCH_AFTER_22 |
        QUICC_PMSR_RCV_SHORT_FRAMES;

Does anyone have some additional information or comment concerning this
topic?

Kind regards,

Tord Andersson



--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-18  7:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-18  7:07 [ECOS] Full or half duplex in MPC8xx QUICC ethernet driver if_quicc.c ? Tord Andersson

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 read-only IMAP folder(s) and NNTP newsgroup(s).