plb_temac, ML403, linux 2.4.26, EDK 7.1
robert corley
rdcorle at yahoo.com
Thu Oct 12 06:46:31 EST 2006
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
More information about the Linuxppc-embedded
mailing list