[ECOS] MPC8260 fec, dpram, immr

Water He hyhe@PhotonicBridges.com
Wed Mar 5 04:19:00 GMT 2003


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.




More information about the Ecos-discuss mailing list