This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
MPC8260 fec, dpram, immr
- From: "Water He" <hyhe at PhotonicBridges dot com>
- To: "ECOS-DISCUSS" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 5 Mar 2003 12:20:11 +0800
- Subject: [ECOS] MPC8260 fec, dpram, immr
I notice that QUICC2 FEC driver(...\packages\devs\eth\powerpc\quicc2\current\src\if_fec.c) has been updated. But there is another question: FEC should use DPRAM as its rx/tx BD. (see MPC8260UM.pdf, chapter 28.6)
Suggestions:
There should be a common function to allocate DPRAM.
There should be a macro or function to get IMMR address. Using 0x0470XXXX anywhere is not a good idea.