commit | b8e0b4723ba11c3f110edcb451d2834b1164a238 | [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 | 25ada1f6b76f50efd2eb200dc76edb52fec54adb [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>