diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-05-23 16:38:41 +0200 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-06-18 19:34:40 +0200 |
commit | fa9e12102dfc6a5f1f10a75fd1804c16a166ded9 (patch) | |
tree | 85aa29e94e9851024108d133a548e2f223992812 /drivers/net/macb.c | |
parent | acdf5d88827a0420ed0ceee3e45fa08f9d39b483 (diff) |
net: eepro100: Pass PCI BDF into bus_to_phys()/phys_to_bus()
This is a trick in preparation for adding DM support. By passing in
the PCI BDF into the bus_to_phys()/phys_to_bus() macros and calling
that dev, we can substitute dev with udevice when DM support lands
and do minor adjustment to the macros to support both DM and non-DM
operation. No functional change.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'drivers/net/macb.c')
0 files changed, 0 insertions, 0 deletions