From: Beniamino Galvani <b.galvani@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Peter Crosthwaite" <peter.crosthwaite@xilinx.com>,
"Stefan Hajnoczi" <stefanha@gmail.com>,
"Beniamino Galvani" <b.galvani@gmail.com>,
"Andreas Färber" <afaerber@suse.de>,
"Li Guang" <lig.fnst@cn.fujitsu.com>
Subject: [Qemu-devel] [PATCH v4 0/3] hw/arm: add ethernet support to Allwinner A10
Date: Sun, 26 Jan 2014 22:39:49 +0100 [thread overview]
Message-ID: <1390772392-4705-1-git-send-email-b.galvani@gmail.com> (raw)
This patch series adds support for the EMAC Fast Ethernet controller
found on Allwinner SoCs to the Allwinner A10.
Changelog:
v4: Address comments from Peter Crosthwaite and Andreas Färber:
* Add functions for multiple bytes push/pop to Fifo8
* Get rid of custom fifo implementation and use generic one for
both tx and rx
* Rename aw_emac_mdio_read -> RTL8201CP_mdio_read
* Allow reception of new packets from net layer only when there is
space for a full size frame
* Change TYPE_AW_EMAC from "allwinner_emac" to "allwinner-emac"
* Property "phyaddr" -> "phy-addr"
* Remove trailing newlines from error_report() messages
v3: Address comments from Peter Crosthwaite and Stefan Hajnoczi:
* Use a single, big rx fifo instead of per-packet fifo
* Remove link_ok field from PHY state
* Call set_link() on post_load
* Add missing PHY registers
* Implement reset() method
* Rename AwEmacMii -> RTL8201CPState
* Rename mii_{read,write} -> aw_emac_mdio_{read,write}
v2: Address Peter Crosthwaite's comments:
* Make phy address customizable through a property
* Call qemu_flush_queued_packets() when rx becomes possible
* Always create EMAC instance in SoC
* Use uint8 arrays for fifos
* Minor cleanups
Beniamino Galvani (3):
util/fifo8: implement push/pop of multiple bytes
hw/net: add support for Allwinner EMAC Fast Ethernet controller
hw/arm/allwinner-a10: initialize EMAC
default-configs/arm-softmmu.mak | 1 +
hw/arm/allwinner-a10.c | 16 ++
hw/arm/cubieboard.c | 11 +-
hw/net/Makefile.objs | 1 +
hw/net/allwinner_emac.c | 532 +++++++++++++++++++++++++++++++++++++++
include/hw/arm/allwinner-a10.h | 3 +
include/hw/net/allwinner_emac.h | 211 ++++++++++++++++
include/qemu/fifo8.h | 43 ++++
util/fifo8.c | 44 ++++
9 files changed, 860 insertions(+), 2 deletions(-)
create mode 100644 hw/net/allwinner_emac.c
create mode 100644 include/hw/net/allwinner_emac.h
--
1.7.10.4
next reply other threads:[~2014-01-26 21:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-26 21:39 Beniamino Galvani [this message]
2014-01-26 21:39 ` [Qemu-devel] [PATCH v4 1/3] util/fifo8: implement push/pop of multiple bytes Beniamino Galvani
2014-01-27 18:32 ` Peter Maydell
2014-01-28 0:04 ` Peter Crosthwaite
2014-01-28 10:43 ` Peter Maydell
2014-01-28 18:48 ` Beniamino Galvani
2014-01-29 12:02 ` Peter Crosthwaite
2014-01-28 18:44 ` Beniamino Galvani
2014-01-26 21:39 ` [Qemu-devel] [PATCH v4 2/3] hw/net: add support for Allwinner EMAC Fast Ethernet controller Beniamino Galvani
2014-01-27 18:41 ` Peter Maydell
2014-01-28 0:31 ` Peter Crosthwaite
2014-01-26 21:39 ` [Qemu-devel] [PATCH v4 3/3] hw/arm/allwinner-a10: initialize EMAC Beniamino Galvani
2014-01-27 18:44 ` Peter Maydell
2014-01-28 0:32 ` Peter Crosthwaite
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390772392-4705-1-git-send-email-b.galvani@gmail.com \
--to=b.galvani@gmail.com \
--cc=afaerber@suse.de \
--cc=lig.fnst@cn.fujitsu.com \
--cc=peter.crosthwaite@xilinx.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).