parisc/a400: Second Elroy is at 0xfed34000 on rope 2
On the A400 (and A500) the second Elroy PCI host bridge is connected to
Astro rope 2 at HPA 0xfed34000, as a400.h's own device list header
("Elroy PCI Bridge [0:2] at 0xfffffffffed34000") and the generated
a500.h show. The firmware used the C3700 values instead: the device
list entry pointed at ELROY2_HPA (0xfed32000, marked "XXX") and its
module path said rope 1.
Add ELROY4_HPA and use it and rope 2 for the A400: in the device list,
for the PCI config space access of bus 1 (elroy_offset()) and for the
rope-to-bus mapping of the PAT PCI tables (pathnum_to_pcibus()). The
C3700 is unchanged.
This pairs with the QEMU change "hw/hppa: Place the second Elroy of the
A400 on rope 2", which moves the emulated Elroy to the same address.
With only one side applied, the second Elroy of an A400 is reported at
an address where the emulator has none (no PCI devices sit behind it by
default).
Signed-off-by: Craig Lalley <mr_lalley@yahoo.com>
Signed-off-by: Helge Deller <deller@gmx.de>
4 files changed