Re: [PATCH v2] net: davicom: dm9000: allow to pass MAC address through mac_addr module parameter
From: Andrew Lunn
Date: Fri Feb 14 2020 - 11:32:31 EST
On Fri, Feb 14, 2020 at 05:07:35PM +0100, H. Nikolaus Schaller wrote:
> The MIPS Ingenic CI20 board is shipped with a quite old u-boot
> (ci20-v2013.10 see https://elinux.org/CI20_Dev_Zone). This passes
> the MAC address through dm9000.mac_addr=xx:xx:xx:xx:xx:xx
> kernel module parameter to give the board a fixed MAC address.
I think this will get ACKed.
There is a well defined way to pass the MAC address via DT. The driver
supports that already.
uboot for this board appears to be open:
https://github.com/MIPS/CI20_u-boot
and it is documented to how build it.
So there is no reason why it cannot be made to support the standard
mechanism.
Andrew