Ming;

Here is what the EDK generates in this file:

C:\EDK\projects\startup_network\ppc405_0\libsrc\linux_mvl31_v1_01_a\linux\arch\ppc\platforms\xilinx_ocp\xparameters_ml300.h

<snip>
#define XPAR_XTEMAC_NUM_INSTANCES 1
#define XPAR_PLB_TEMAC_0_BASEADDR 0x60000000
#define XPAR_PLB_TEMAC_0_HIGHADDR 0x60003FFF
#define XPAR_PLB_TEMAC_0_DEVICE_ID 0
#define XPAR_PLB_TEMAC_0_IPIF_RDFIFO_DEPTH 131072
#define XPAR_PLB_TEMAC_0_IPIF_WRFIFO_DEPTH 131072
#define XPAR_PLB_TEMAC_0_MAC_FIFO_DEPTH 64
#define XPAR_PLB_TEMAC_0_DMA_TYPE 3
#define XPAR_PLB_TEMAC_0_TEMAC_DCR_HOST 0
#define XPAR_PLB_TEMAC_0_INCLUDE_DRE 1
<snip>


Which is fine.  However, the file in the linux distribution: 
linux_2_4_devel/drivers/net/xilinx_enet/adapter.c is looking for "XEMAC" 
instead of "XTEMAC" as above.

Also, when I look at the EDK project directory 

"C:\EDK\projects\startup_network\ppc405_0\libsrc\linux_mvl31_v1_01_a\linux\drivers\net\"

I see that it is empty.  Which means that nothing in the MVL tree will be 
overwritten (specifically the adapter.c file, which uses the above defines).

So, it appears that the driver is not being properly insterted into the tree as 
expected.  Would you agree?

-R


_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to