net/ftgmac100: add a 'aspeed' property
commit1335fe3eb2a2a53e1f9cbbd3ef53ea2e013cadbe
authorCédric Le Goater <clg@kaod.org>
Fri, 14 Apr 2017 08:35:01 +0000 (14 10:35 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 25 Apr 2017 11:17:25 +0000 (25 19:17 +0800)
treed3c0b96a227b43ee869c0ba04ed77fd7bf129226
parentbd44300d1afc32b19043697f7f585dd5a2e8df42
net/ftgmac100: add a 'aspeed' property

The Aspeed SoCs have a different definition of the end of the ring
buffer bit. Add a property to specify which set of bits should be used
by the NIC.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/ftgmac100.c
include/hw/net/ftgmac100.h