ppc440: Add busnum property to PCIe controller model
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 5 Jul 2023 20:12:53 +0000 (22:12 +0200)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 7 Jul 2023 07:47:49 +0000 (04:47 -0300)
commit6ef62c5945316c265189e301b5fadf9285850221
tree965f5f4db868d2acffe8846e9fe45bdc8fbf8174
parent088b61bc49fab767d73d79d49cb828d866346e6d
ppc440: Add busnum property to PCIe controller model

Instead of guessing controller number from dcrn_base add a property so
the device does not need knowledge about where it is used.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <fdb84344025e00fadf74d0be95665fcb0ac1e039.1688586835.git.balaton@eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
hw/ppc/ppc440_uc.c