hw/net: create common collection of MII definitions
authorGreg Ungerer <gerg@uclinux.org>
Fri, 26 Jun 2015 05:27:13 +0000 (15:27 +1000)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 27 Jul 2015 13:12:04 +0000 (14:12 +0100)
commit3e230569bf16aa36562967cd76b742c6824481b1
treed0c390fb34012adac5e96b027970b9ce5ceab8d9
parentf793d97e454a56d17e404004867985622ca1a63b
hw/net: create common collection of MII definitions

Create a common set of definitions of address and register values for
ethernet MII phys. A few of the current ethernet drivers have at least
a partial set of these definitions. Others just use hard coded raw
constant numbers.

This initial set is copied directly from the allwinner_emac code.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1435296436-12152-2-git-send-email-gerg@uclinux.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/hw/net/allwinner_emac.h
include/hw/net/mii.h [new file with mode: 0644]