This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MPC8260 fec, dpram, immr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]