summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorBeniamino Galvani2014-03-25 19:22:09 +0100
committerPeter Maydell2014-04-17 22:34:06 +0200
commit103db49a106d1f015a16432eb73cc4046792fbad (patch)
tree307accdf9d92434a73d8a63bfd4975123a5822e6 /include/hw
parentallwinner-a10-pit: implement prescaler and source selection (diff)
downloadqemu-103db49a106d1f015a16432eb73cc4046792fbad.tar.gz
qemu-103db49a106d1f015a16432eb73cc4046792fbad.tar.xz
qemu-103db49a106d1f015a16432eb73cc4046792fbad.zip
allwinner-emac: set autonegotiation complete bit on link up
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 1395771730-16882-7-git-send-email-b.galvani@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/net/allwinner_emac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/net/allwinner_emac.h b/include/hw/net/allwinner_emac.h
index a5e944af05..5ae7717300 100644
--- a/include/hw/net/allwinner_emac.h
+++ b/include/hw/net/allwinner_emac.h
@@ -144,6 +144,7 @@
#define MII_BMSR_10T_FD (1 << 12)
#define MII_BMSR_10T_HD (1 << 11)
#define MII_BMSR_MFPS (1 << 6)
+#define MII_BMSR_AN_COMP (1 << 5)
#define MII_BMSR_AUTONEG (1 << 3)
#define MII_BMSR_LINK_ST (1 << 2)