net: pcnet: Wrap iobase into private data
authorMarek Vasut <marek.vasut@gmail.com>
Sun, 17 May 2020 16:24:21 +0000 (18:24 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commitdeca77382114364ca476482ad3e8bd431578fea8
tree7789aad3433a2f9b26413ae698a4f9ebd2afb39f
parent834d5cebe582eb71a2c76fc5c9078a3a85b1cafe
net: pcnet: Wrap iobase into private data

Instead of using the non-DM-only iobase in struct eth_device, add
one into the private data to make DM and non-DM operation possible.

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