]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: pcnet: Wrap name and enetaddr into private data
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 17 May 2020 15:04:19 +0000 (17:04 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 18 Jun 2020 17:34:41 +0000 (19:34 +0200)
commit1023a1e6a9b506c318ee9330d90d3acdf5593f89
tree48d88205d1d560f40e5a59e0557e626ad21c155e
parent3b2d63a739f27d8a139f880cc92e66072e1ef5e4
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