]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: pcnet: Wrap name and enetaddr into private data
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 17 May 2020 16:24:22 +0000 (18:24 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commit6d76c9f1e6df5338aeaa8699e16ea3bb755f858d
treea999ab01d93f556569872c725fc2384b83492328
parentdeca77382114364ca476482ad3e8bd431578fea8
net: pcnet: Wrap name and enetaddr into private data

Instead of using the non-DM-only name and enetaddr in struct eth_device,
add pointers into the private data which can either point to that non-DM
name or a DM one later on.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/pcnet.c