[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] MAC Address Configuration
Hi Andreas,
The MAC addresses are sadly still coded into
drivers/net/xilinx_emac/adapter.c.
It would be simple (and pretty general) to add a parameter to the
autoconfig architecture to define the MAC address in the MSS file.
It seems common on uclinux platforms to use an MTD partition to hold the
MAC address, my only discomfort there is that it ties the ethernet
driver with a particular MTD asddress map - a bit tightly coupled for my
liking.
If there's interest I can quickly modify the auto-config scripts
(MLD/TCL) to support an MSS-defined MAC address. Maybe a good start?
If anyone has comments or suggestions on a nice, loosely coupled and
generic way of doing this, I'm all ears.
Cheers,
John
Andreas Roland wrote:
> Hello,
> Now that some messages where about DHCP. I've a point that's also about
> the ethernet:
> The MAC adress is defined somewhere in the code, where I also was able
> to find it once ;-), but that's not very satisfying, when using several
> boards.
> Wouldn't it be better to define it, to be located somewhere in the
> Flash. So each card could have it's individual MAC address.
>
> Did somebody already implement this?
>
> Regards,
> Andreas.
>
>
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/