commit | c62e024ba80f2e95b6615260ddcb74ea7894ad41 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat May 23 16:38:41 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Thu Jun 18 19:34:40 2020 +0200 |
tree | 85aa29e94e9851024108d133a548e2f223992812 | |
parent | 8784dd36e5e39574948eb2fa1117d96744187bbb [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>