From c110425d166a6fbb60d87664d67bf2c39516fb22 Mon Sep 17 00:00:00 2001
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Date: Fri, 8 Sep 2017 14:31:21 +0100
Subject: net: add Sun HME (Happy Meal Ethernet) on-board NIC

Enable it by default for the sparc64-softmmu configuration.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Artyom Tarasenko <atar4qemu@gmail.com>
---
 include/hw/net/mii.h | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'include/hw/net')

diff --git a/include/hw/net/mii.h b/include/hw/net/mii.h
index 6ce48a6..4ae4dcc 100644
--- a/include/hw/net/mii.h
+++ b/include/hw/net/mii.h
@@ -104,6 +104,10 @@
 #define RTL8211E_PHYID1     0x001c
 #define RTL8211E_PHYID2     0xc915
 
+/* National Semiconductor DP83840 */
+#define DP83840_PHYID1      0x2000
+#define DP83840_PHYID2      0x5c01
+
 /* National Semiconductor DP83848 */
 #define DP83848_PHYID1      0x2000
 #define DP83848_PHYID2      0x5c90
-- 
cgit v1.1