All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zachary Landau <kapheine@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] FEC in mcf52x2
Date: Tue, 5 Apr 2005 12:19:45 -0400	[thread overview]
Message-ID: <a04f56da050405091976426543@mail.gmail.com> (raw)
In-Reply-To: <20050404230628.FKRG1282.fed1rmmtao03.cox.net@smtp.west.cox.net>

On Apr 4, 2005 7:06 PM, wroberts1 at cox.net <wroberts1@cox.net> wrote:
> I was trying to do an tftp transfer from u-boot-1.1.2 on an
> mcf5282.  The fec driver in there does not seem to be
> functioning.   Is this driver functional on the mcf5272c3?

The FEC structure in immap_5282.h is wrong.  Try this:

typedef struct fec {
    uint    res1;
    uint    fec_ievent;
    uint    fec_imask;
    uint    res2;
    uint    fec_r_des_active;
    uint    fec_x_des_active;
    uint    res3[3];
    uint    fec_ecntrl;
    uint    res4[6];
    uint    fec_mii_data;
    uint    fec_mii_speed;

    uint    res5[7];
    uint    fec_mibc;
    uint    res6[7];
    uint    fec_r_cntrl;
    uint    res7[15];
    uint    fec_x_cntrl;
    uint    res8[7];
    uint    fec_addr_low;   uint    fec_addr_high;
    uint    fec_opd;
    uint    res9[10];
    uint    fec_ihash_table_high;
    uint    fec_ihash_table_low;

    uint    fec_ghash_table_high;
    uint    fec_ghash_table_low;
    uint    res10[7];
    uint    fec_tfwr;
    uint    res11;
    uint    fec_r_bound;
    uint    fec_r_fstart;
    uint    res12[11];
    uint    fec_r_des_start;
    uint    fec_x_des_start;
    uint    fec_r_buff_size;
} fec_t;



-- 
Zachary P. Landau <kapheine@gmail.com>

  reply	other threads:[~2005-04-05 16:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-04 23:06 [U-Boot-Users] FEC in mcf52x2 wroberts1 at cox.net
2005-04-05 16:19 ` Zachary Landau [this message]
2005-04-05 16:28   ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-04-05 18:31 wroberts1 at cox.net
2005-04-05 18:55 ` Zachary Landau
2005-04-05 19:05   ` NZG

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=a04f56da050405091976426543@mail.gmail.com \
    --to=kapheine@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.