This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MPC8260 fec, dpram, immr
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Water He <hyhe at PhotonicBridges dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 04 Mar 2003 22:50:57 -0700
- Subject: Re: [ECOS] MPC8260 fec, dpram, immr
- References: <07da01c2e2ce$83726d90$bb0ba8c0@PBHYHECNSH>
On Tue, 2003-03-04 at 21:20, Water He wrote:
> 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.
Indeed. Remember that this is a contributed port and can
certainly use some work (like these areas, to mention a few).
We have already done both of these improvements for the
MPC8xx (QUICC) in general. It now should be done for
the MPX82xx (QUICC2)
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary dot thomas at mind dot be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss