summary refs log tree commit diff stats
path: root/hw/pci-host/mv643xx.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2023-06-05 23:51:45 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2023-07-07 04:18:26 -0300
commit32be62a3d811fa9f389ff791ac6c5cecf69b2109 (patch)
treea6f3bda285c8280db30ef89cc78937ce6288927f /hw/pci-host/mv643xx.h
parent28eafc1270c5878a2f2538b8050443f88c5c9282 (diff)
downloadfocaccia-qemu-32be62a3d811fa9f389ff791ac6c5cecf69b2109.tar.gz
focaccia-qemu-32be62a3d811fa9f389ff791ac6c5cecf69b2109.zip
mv64361: Add dummy gigabit ethernet PHY access registers
We don't emulate the gigabit ethernet part of the chip but the MorphOS
driver accesses these and expects to get some valid looking result
otherwise it hangs. Add some minimal dummy implementation to avoid rhis.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230605215145.29458746335@zero.eik.bme.hu>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'hw/pci-host/mv643xx.h')
-rw-r--r--hw/pci-host/mv643xx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/pci-host/mv643xx.h b/hw/pci-host/mv643xx.h
index cd26a43f18..f2e1baea88 100644
--- a/hw/pci-host/mv643xx.h
+++ b/hw/pci-host/mv643xx.h
@@ -656,6 +656,9 @@
 /*        Ethernet Unit Registers       */
 /****************************************/
 
+#define MV64340_ETH_PHY_ADDR                                        0x2000
+#define MV64340_ETH_SMI                                             0x2004
+
 /*******************************************/
 /*          CUNIT  Registers               */
 /*******************************************/