[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Ethernet driver compilationi problem



Hi,

    When compiling the kernel (v0.3-rc1), I got the following errors:

drivers/net/xilinx_emac/adapter.c: In function `XEmac_GetConfig':
drivers/net/xilinx_emac/adapter.c:224: error: `CONFIG_XILINX_ETHERNET_NUM_INSTANCES' undeclared (first use in this function)
drivers/net/xilinx_emac/adapter.c:224: error: (Each undeclared identifier is reported only once
drivers/net/xilinx_emac/adapter.c:224: error: for each function it appears in.)
drivers/net/xilinx_emac/adapter.c: In function `probe':
drivers/net/xilinx_emac/adapter.c:1917: error: `CONFIG_XILINX_ETHERNET_0_HIGHADDR' undeclared (first use in this function)
drivers/net/xilinx_emac/adapter.c:1917: error: `CONFIG_XILINX_ETHERNET_0_BASEADDR' undeclared (first use in this function)
drivers/net/xilinx_emac/adapter.c:1917: warning: unused variable `remap_size'
make[4]: *** [drivers/net/xilinx_emac/adapter.o] Error 1
make[3]: *** [drivers/net/xilinx_emac] Error 2
make[2]: *** [drivers/net] Error 2
make[2]: *** Waiting for unfinished jobs....

    I tried the V5 TEMAC and the soft EMAClite. Both got the same errors. Anyone knows what may be wrong?

Thanks,

Simon