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

[microblaze-uclinux] suggestion to Xilinx Ethernetlite driver



Hi John,
 
The Xilinx Ethernetlite driver that is available at present doesnt work fine..
It doesnt have a mac-address assigned to it...  Since the mac-address is not available, ping doesnt work.
As a result , when i was using it, i had to hard code a mac-address to it in the adapter.c file
 
In Adapter.c :
 
in the function
int static xemaclite_open ( ...... ) {
      .....
before calling the function  XEmaclite_SetMacAddress(&lp->Emaclite, dev-> dev_addr);
 
pls hard code a Mac-address like this...
 
================
dev->dev_addr[0] = 0x00;
dev->dev_addr[1] = 0x11;
dev->dev_addr[2] = 0x22;
dev->dev_addr[3] = 0x33;
dev->dev_addr[4] = 0x44;
dev->dev_addr[5] = 0x55;
 
 
John, do u have any other idea than hard coding???
 
 
 
Regards,
Ujwal