From: "alix t" <talix1603@yahoo.fr>
To: ecos-maintainers@ecos.sourceware.org
Subject: modification for CYGPKG_DEVS_ETH_POWERPC_FCC package
Date: Mon, 15 Dec 2003 14:25:00 -0000 [thread overview]
Message-ID: <20031215142522.98966.qmail@web25003.mail.ukl.yahoo.com> (raw)
Hi,
I currently develop application for a motorola
evaluation card ( PQ2FADS-VR with MPC8275).
I use CYGPKG_DEVS_ETH_POWERPC_FCC package for the
ethernet driver.
But PQ2FADS-VR board use FCC2 anf FCC3 and
CYGPKG_DEVS_ETH_POWERPC_FCC package in only coded for
FCC1 and FCC2.
Is it possible to add some code to manage FCC3?
Modifications are the following:
In file if_fcc.c:
in function fcc_eth_init(struct cyg_netdevtab_entry
*dtp)
+ case CYGNUM_HAL_INTERRUPT_FCC3:
+ qi->fcc_reg = &(IMM->fcc_regs[FCC3]);
+ fcc = (volatile t_Fcc_Pram *)((unsigned long)IMM +
FCC3_PRAM_OFFSET);
+ fcc_chan = FCC3_PAGE_SUBBLOCK;
+ break;
In file fcc.h:
+ #define FCC3 2
+ #define FCC3_PRAM_OFFSET 0x8600 // Offset of
t_Fcc_Pram in 82xx
Alix Tiphaine
_________________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
reply other threads:[~2003-12-15 14:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20031215142522.98966.qmail@web25003.mail.ukl.yahoo.com \
--to=talix1603@yahoo.fr \
--cc=ecos-maintainers@ecos.sourceware.org \
/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 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).