commit | 8a5c6f158d68dd30bec672b141bf882296bff7e3 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Wed Jul 08 06:50:41 2020 +0200 |
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | Sat Jul 25 11:24:02 2020 +0200 |
tree | 17a12466abddb92de54161660f8ba5e3b1e580ba | |
parent | fcd6217813661c07f707e804a46886c56d48d0e8 [diff] |
net: dc2114x: Pass PCI BDF into phys_to_bus() This is a trick in preparation for adding DM support. By passing in the PCI BDF into the 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> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Ramon Fried <rfried.dev@gmail.com>